From: Valdis Kletnieks <Valdis.Kletnieks@vt.edu>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] init/Kconfig - add clarification for out-of-tree modules
Date: Fri, 29 Jul 2016 06:14:52 -0400 [thread overview]
Message-ID: <10177.1469787292@turing-police.cc.vt.edu> (raw)
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
reply other threads:[~2016-07-29 10:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10177.1469787292@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).