[lkml]   [1996]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectkthreadd (was Re: nfsiod issues?)
Olaf Kirch wrote:
> The difficulty with kernel threads is that they are created by using
> sys_clone(), which means that they inherit everything from the process
> creating them, including its VM.

An idea I had for a similar problem is kthreadd. This would be a kernel
thread created on boot (just after kswapd), which would sit around waiting
for requests to spawn new kernel threads. These thread's would therefore
have no user VM.

I haven't decided upon the actual mechanism for talking to kthreadd,
almost anything would do - e.g an internally opened pipe, down which three
values (long & pointers) are shoved, or some other trick.

Derek Fawcus (G7FVS)

 \ /
  Last update: 2005-03-22 13:37    [W:0.057 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site