Kernel threads questions

From: Jaime Medrano (overflow@eurielec.etsit.upm.es)
Date: Wed Sep 13 2000 - 12:45:44 EST


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
medrano@bigfoot.com

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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:21 EST