On 7/25/05, Bhanu Kalyan Chetlapalli <chbhanukalyan@xxxxxxxxx> wrote: > daemonize() function is generally used to convert ordinary processes > into kernel threads - like kswapd, ksoftirqd etc - which do not have > an associated user-space (mm_struct). These kernel threads execute > completely in kernel-space. For processes like this check out the > /proc/<pid>/maps file - it will be empty - since they have no > associated mm_struct. Great. But what is the advantage of "converting" a current kernel process into a kernel thread? Is that better to use kernel thread API to create a thread? Thank you a lot, Bhanu. NAH -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/