[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110818124353.GA2839@tango.0pointer.de>
Date: Thu, 18 Aug 2011 14:43:53 +0200
From: Lennart Poettering <mzxreary@...inter.de>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Kay Sievers <kay.sievers@...y.org>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-man@...r.kernel.org,
roland@...k.frob.com, torvalds@...ux-foundation.org
Subject: Re: +
prctl-add-pr_setget_child_reaper-to-allow-simple-process-supervision
.patch added to -mm tree
On Wed, 17.08.11 15:45, Oleg Nesterov (oleg@...hat.com) wrote:
> You should mark the whole process as sub-reaper, not a single thread
> which does prctl(). The parent/child relationship is process-wide.
Hmm, how would we implement this best? Would it be sufficient to follow
group_leader pointer to set/get the flag, and to follow real_parent
instead of parent when looking for the reaper task (i.e. the one with
the flag set)?
Lennart
--
Lennart Poettering - Red Hat, Inc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists