[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1oceakf5x.fsf@fess.ebiederm.org>
Date: Tue, 13 Jul 2010 18:47:38 -0700
From: ebiederm@...ssion.com (Eric W. Biederman)
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Pavel Emelyanov <xemul@...nvz.org>,
Oleg Nesterov <oleg@...hat.com>, linux-kernel@...r.kernel.org,
Linux Containers <containers@...ts.osdl.org>,
Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Subject: Re: [PATCH] pidns: Fix wait for zombies to be reaped in zap_pid_ns_processes
Louis Rilling <Louis.Rilling@...labs.com> writes:
> This patch looks like it is working (only a small RCU issue shown below). I
> couldn't try it yet though.
It certainly worked in my testing.
> I must admit that I am using a similar back-off solution in Kerrighed (not to
> solve the issue of proc_flush_task(), but for one of the reasons that you stated
> above: we want to be sure that all tasks of the namespace have been reaped), but
> I considered it too ugly to propose it for Linux ;)
Well sometimes you have to go with what works.
Thanks for spotting those issue with my patch. I guess it needs one more
pass before I can call it done.
> That said, this is probably the least intrusive solution we have seen yet.
Thanks for the review. The bug where processes can escape a pid
namespace is really the reason I did it this way. I also have the
patches needed to cleanly fix the pid namespace ref counting.
(Hopefully I can get them posted soon). So if there was just the
ref counting bug I would drop this patch.
Eric
--
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