Using modules to avoid the need of a reboot during development

Andreas Fey (Andreas.Fey@t-online.de)
Thu, 20 Mar 2003 23:09:58 +0100


Hi,

I want to add a custom routine to the tcp-code in the kernel 2.4.18.
Unfortunately I have to reboot the machine everytime I have made changes to
the kernel.
So my question is: Can I avoid the need of a reboot using a selfmade kernel
module ?

In tcp.c I want to call a dummy function. And when I insert the module it
should intercept the dummy function so that the code in the module is
executed instead of the function in tcp.c. This would be great because all
the things I have to do is compiling and reinserting the module everytime I
have changed something in the code.

Can this be done in the 2.4 kernel ? Is this the right way to safe time
during kernel development or is there an easier way ?

Thank You, Andy.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/