From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH] ns: move free_nsproxy() out of do_exit() path Date: Fri, 13 Jul 2012 14:08:06 -0700 Message-ID: <20120713140806.b3d0fda8.akpm@linux-foundation.org> References: <1342180088-22647-1-git-send-email-kirill.shutemov@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1342180088-22647-1-git-send-email-kirill.shutemov-VuQAYsv1563Yd54FQh9/CA@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: "Kirill A. Shutemov" Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "Dmitry V. Levin" , Doug Ledford , Al Viro , KOSAKI Motohiro , Pavel Emelyanov List-Id: containers.vger.kernel.org On Fri, 13 Jul 2012 14:48:08 +0300 "Kirill A. Shutemov" wrote: > From: "Kirill A. Shutemov" > > free_nsproxy() is too heavy to be on exit path. Let's free namespaces > asynchronously to not block exit_group() syscall. Please be specific, and complete. Why is it "too heavy"? Where is the time being spent? Is it spent in D state or is it spent burning CPU cycles? Does the patch simply offload the work into kernel threads, providing no net gain? > The patch also fixes bug with free namespace without synchronize_rcu() through > put_nsproxy(). I just don't understand this description. Please send a new one which includes all details about the bug, including a description of the user-visible effects of the bug.