Hi,
Well, it's too long to be explained, but in short it is no different than loading normal executable file and instruct it to run from its entry point. During the loading, as usual, several VMAs are constructed on user space Actually, IMHO, that is still kernel thread. It is just "walk" to user space for a moment, run a program, exit and back to kernel space.
Is it said the execve() will create a mm struct for the kernel thread when loading executable file and " ' walk' to user space " ? Thanks very much in deed! Regards, Cheng -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/