From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Mon, 22 Nov 2010 00:14:41 +0100 References: <1290369268-9525-1-git-send-email-sven.eckelmann@gmx.de> In-Reply-To: <1290369268-9525-1-git-send-email-sven.eckelmann@gmx.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201011220014.42290.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Don't remove interface with spinlock held Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Sunday 21 November 2010 20:54:28 Sven Eckelmann wrote: > We call a lot of the netdevice code when holding if_list_lock which will > spin the whole time. This is not necessary because we only want to > protect the access to the list to be serialized. An extra queue can be > used which hold all interfaces which should be removed and then use that > queue without any locks for netdevice cleanup. Applied in revision 1867. Thanks, Marek