linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] init/Kconfig - add clarification for out-of-tree modules
@ 2016-07-29 10:14 Valdis Kletnieks
  0 siblings, 0 replies; only message in thread
From: Valdis Kletnieks @ 2016-07-29 10:14 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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 something...

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

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
---
diff --git a/init/Kconfig b/init/Kconfig
index 55c07b855e90..b4c9eb8119c0 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -2083,7 +2083,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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-29 10:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-29 10:14 [PATCH] init/Kconfig - add clarification for out-of-tree modules Valdis Kletnieks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).