From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] net: allow to kill a task which waits net_mutex in copy_new_ns Date: Sun, 23 Oct 2016 17:34:12 -0400 (EDT) Message-ID: <20161023.173412.980399329363842342.davem@davemloft.net> References: <1477017943-18786-1-git-send-email-avagin@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: avagin-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org Return-path: In-Reply-To: <1477017943-18786-1-git-send-email-avagin-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 List-Id: netdev.vger.kernel.org From: Andrei Vagin Date: Thu, 20 Oct 2016 19:45:43 -0700 > From: Andrey Vagin > > net_mutex can be locked for a long time. It may be because many > namespaces are being destroyed or many processes decide to create > a network namespace. > > Both these operations are heavy, so it is better to have an ability to > kill a process which is waiting net_mutex. > > Cc: "David S. Miller" > Cc: Eric W. Biederman > Signed-off-by: Andrei Vagin Applied, thanks.