diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-31 13:05:33 -0600 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-31 13:05:34 +1030 |
commit | 9cb610d8e35fe3ec95a2fe2030b02f85aeea83c1 (patch) | |
tree | 282863f8b6560e5373f40e9d6b7f2fa2dcc8e86d /kernel/capability.c | |
parent | c6e665c8f0c18ab3686117905765b5139efd6ebd (diff) |
module: remove the SHF_ALLOC flag on the __versions section.
Impact: reduce kernel memory usage
This patch just takes off the SHF_ALLOC flag on __versions so we don't
keep them around after module load.
This saves about 7% of module memory if CONFIG_MODVERSIONS=y.
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions