On Mon, Aug 26, 2002 at 12:15:01PM -0700, Seth Arnold wrote: > On Mon, Aug 26, 2002 at 11:24:22AM -0700, Dharshan Rangegowda wrote: > > Once a module is inserted into the kernel is there > > any run time overhead compared to writing it as a > > kernel patch and recompiling the kernel? If there is > > none why is not the entire kernel symbol table > > exported for use by modules? > > Check past issues of Kernel Traffic and LWN's Kernel pages. I recall > hearing about slowdowns with kernel modules because of bloating the > CPU's TLB tables, but not the details. There are two separate things hower. As far as module speed is concerned, there was some talk on linux-kernel lately that everything should be modules, but there are some performance issues that must be resolved first. As far es exporting symbols is concerned, that is a memory consumption issue, because names of all exported symbols must be present in kernel image and thus in memory all the time. Names of other symbols are not. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/