On Sunday 01 September 2002 11:43 pm, Kedar Sovani wrote: > Hi, > And also that unlike the processes can be pre- empted,while the > kernel cannnot. In that particular case you may have performance gains if > you have something in the kernel, rather than being in the user space, as > it runs continuously. There will be a cost to this though. User space will suffer a performance lose if to much time is spent in the kernel, additionally (depends on how the code is written) other parts of the kernel will suffer a performance hit or lock up the system. As a side not the 2.5 kernel is preemtible. Really the only code that belongs in the kernel are things that can't be done in userland, thus helping preserve the stability of the system. If you can do it in userland then do it there. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/