Hi everyone,
I recently spent some time working on the "modularization" of the ipv4
stack. More precisely, this allows anyone to boot the kernel without any
ipv4 support (thus saving about 200k of RAM) and load a module
implementing the TCP/IP stack latter on.
The code is now at a stage where the ipv4.o module can be inserted and
removed at will, and it's actually quite stable (although it still needs
to be tested more heavily) . I know some people have shown some interest
for this feature in the past, so your feedback is appreaciated. The
patch is available for version 2.4.17 of the kernel, and can be
downloaded at the following location:
http://www-edu.gel.usherb.ca/duvd01/linux/diff-2.4.17-ipv4-0.11
Before anyone asks why ipv4 modularization is necesary: we are currently
making some heavy modifications to the TCP/IP stack for another project,
and modularizing the whole thing was the easiest way to optimize
development time, since the old "patch, compile, reboot, test" cycle is
now unnecessary with this patch.
Again, ideas/suggestions/comments are welcomed.
--
Dominic Duval
Étudiant, Génie Informatique
Université de Sherbrooke
|