From: Oleg Nesterov Subject: Re: [PATCH 10/15] Make each namespace has its own proc tree Date: Sun, 29 Jul 2007 21:04:36 +0400 Message-ID: <20070729170436.GA941@tv-sign.ru> References: <46A8B37B.6050108@openvz.org> <46A8B59E.7050009@openvz.org> <20070729155841.GI120@tv-sign.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20070729155841.GI120-6lXkIZvqkOAvJsYlp49lxw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Pavel Emelyanov Cc: Linux Containers List-Id: containers.vger.kernel.org On 07/29, Oleg Nesterov wrote: > > Look, proc_flush_task() doesn't need pid, it can use active pid_ns Oops. Yes, proc_flush_task() doesn't use ->numbers[].nr, but it should? proc_flush_task_mnt() uses task->pid to flush /proc/$pid, this looks wrong, we should use ->number[ns->level].nr, no? Oleg.