[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4DAEDBB5.8090006@aknet.ru>
Date: Wed, 20 Apr 2011 17:12:21 +0400
From: Stas Sergeev <stsp@...et.ru>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
CC: Oleg Nesterov <oleg@...hat.com>,
Linux kernel <linux-kernel@...r.kernel.org>
Subject: Re: [path][rfc] add PR_DETACH prctl command [1/2]
Hi Alan, Oleg.
I changed the patch the way you asked.
It now consumes much fewer per-thread bytes
(2 bytes + padding), and does much fewer suspicious
things on the hot path. And no zombies with ppid=1.
The attached patch adds do_signal_parent() function.
It is the same as do_notify_parent(), but can be used
when the child is not terminating, but (for example)
detaches with PR_DETACH.
View attachment "01_sigpar.diff" of type "text/plain" (3689 bytes)
Powered by blists - more mailing lists