• Rusty Russell's avatar
    [PATCH] Embed __this_module in module itself. · 35bc6f3f
    Rusty Russell authored
    	Rather than have the module loader the module structure and
    resolve the symbols __this_module to it, make __this_module a real
    structure inside the module, using the linkonce trick we used for
    module names.
    
    	This saves us an allocation (saving a page per module on
    archs which need the module structure close by), and means we don't
    have to fill in a few module fields.
    35bc6f3f
module.c 34.1 KB