Re: init's children list is long and slows reaping children.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Oleg Nesterov <[email protected]> wrote:

> Probably it is I who missed something :)
> 
> But why can't we do both changes? I think it is just ugly to use init 
> to reap the kernel thread. Ok, wait4() can find zombie quickly if we 
> do the ->children split. But /sbin/init could be swapped out, we still 
> need to deliver SIGCHLD, etc.
> 
> And I personally agree with Linus, it is nice to hide the kernel 
> threads from /sbin/init (or whatever) completely.

yeah, they should all be made auto-reap - nobody is really interested in 
their wait4()-driven completion. (any completion they do is via other 
mechanisms)

	Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux