Commit f1cb637e authored by Valdis Kletnieks's avatar Valdis Kletnieks Committed by Linus Torvalds

init/Kconfig: add clarification for out-of-tree modules

It doesn't trim just symbols that are totally unused in-tree - it trims
the symbols unused by any in-tree modules actually built.  If you've
done a 'make localmodconfig' and only build a hundred or so modules,
it's pretty likely that your out-of-tree module will come up lacking

Hopefully this will save the next guy from a Homer Simpson "D'oh!"

Link: default avatarValdis Kletnieks <>
Cc: Michal Marek <>
Cc: Rusty Russell <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 27eb6622
......@@ -2080,7 +2080,7 @@ config TRIM_UNUSED_KSYMS
(especially when using LTO) for optimizing the code and reducing
binary size. This might have some security advantages as well.
If unsure say N.
If unsure, or if you need to build out-of-tree modules, say N.
endif # MODULES
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment