From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH 1/15] Move exit_task_namespaces() Date: Thu, 26 Jul 2007 09:10:39 -0700 Message-ID: <1185466239.18414.95.camel@localhost> References: <46A8B37B.6050108@openvz.org> <46A8B3C4.5080601@openvz.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <46A8B3C4.5080601-GEFAQzZX7r8dnm+yROfE0A@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 , Oleg Nesterov List-Id: containers.vger.kernel.org On Thu, 2007-07-26 at 18:46 +0400, Pavel Emelyanov wrote: > + write_unlock_irq(&tasklist_lock); > + exit_task_namespaces(tsk); > + write_lock_irq(&tasklist_lock); Are there any other side-effects of doing this? What was the tasklist_lock protecting here when it was released? -- Dave