commit | 9cb610d8e35fe3ec95a2fe2030b02f85aeea83c1 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Tue Mar 31 13:05:33 2009 -0600 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Mar 31 13:05:34 2009 +1030 |
tree | 282863f8b6560e5373f40e9d6b7f2fa2dcc8e86d | |
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>