I have a lot of doubts about kernel threads.

I have read somewhere that in a kernel thread the stack can't be used
because there is no copy-on-write. I want also to know if I can make any
syscall from a kernel thread.

When I call kernel_thread, the process is cloned whith the CLONE_VM flag
set. Does it mean that when I do a mmap in the kernel thread is it done in
the parent process too?

Thanks in advance.

Jaime Medrano
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to