I've posted a patch for init sections in modules several times during early
2.3.x development, but received no answer from Linus so I gave up on it.
It has been widely tested in 2.1.xx series in VGER cvs, current modutils
already support it for more than a year.
For some drivers it is worth IMHO, e.g. some modules have some 512K of
initdata if I remember well.
Allowing swapping out those init sections instead of discarding them should
be fun. One issue though is to write support for it just in a few
instructions, so that not much memory is wasted on handling it.
An open question is whether to allow that swap out/swap on a page by page
basis and catch it in exception handling, or whether to swap the whole
init/cleanup section of a module or of the main kernel at once.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.3.13 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/