Skip to content
Commit 9cb610d8 authored by Rusty Russell's avatar Rusty Russell
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
parent c6e665c8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment