Lucas Tanure <[email protected]> writes: > Hi Russell, > > I found that project > http://kernelnewbies.org/KernelProjects/NoMoreModuleVmalloc. > So I thought that doing first a alloc_pages_exact would be the goal. > The kernel/module.c doesn't need this task any more, or I just did in > the wrong way ?
Hmm, that's hardly a newbie project! arch/x86/kernel/module.c contains the module_alloc() code for x86. You'd need to repalce that, and set module_free() too. And it's not entirely clear that replacing it with kmalloc is actually useful, since it will break CONFIG_DEBUG_SET_MODULE_RONX=y. Cheers, Rusty. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

