Re: Kernel threads questions

2000-09-15 Thread Russell King
Jaime Medrano writes: > 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. That is not true anymore - when a kernel thread is created, it gets a new task_struct, and there

Kernel threads questions

2000-09-13 Thread Jaime Medrano
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.