diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-06-19 03:43:53 +0200 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-06-19 21:03:05 +0200 |
commit | 4f4c51c9405a509e9073ff242746e9049c723aae (patch) | |
tree | e729ede1466683c8a6a4b316bf3e362179c2265d /kernel | |
parent | localmodconfig: Comments and cleanup for streamline_config.pl (diff) | |
download | linux-4f4c51c9405a509e9073ff242746e9049c723aae.tar.xz linux-4f4c51c9405a509e9073ff242746e9049c723aae.zip |
localmodconfig: Read in orig config file to avoid extra processing
Read in the entire config file. If there's a config that we depend on
that happens to be in the core set (not a module) then we do not need
to process it as a module.
Currently, we follow the entire depend and selects even if they
are enabled as core and not modules. By checking to make sure that we
only look at modules we can drop the count a little.
From one of my tests, localmodconfig went from taking 3095 set modules
down to 356 before this patch, and down to 290 modules after the change.
Tested-by: John David Yost <johnyost@ptd.net> # AlleyTrotter
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions