Return-Path: From: Marek Lindner Date: Sat, 18 Sep 2010 13:11:02 +0200 References: <1284584976-22596-1-git-send-email-sven.eckelmann@gmx.de> In-Reply-To: <1284584976-22596-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: <201009181311.02628.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: wait for call_rcu before unloading module 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 Wednesday 15 September 2010 23:09:36 Sven Eckelmann wrote: > synchronize_rcu respective synchronize_net only waits for the rcu grace > period to elapse and we may fail to finish the calls which were made to > call_rcu in that time. In result the module could be unloaded during the > execution of the RCU callbacks. > > rcu_barrier[1] will now wait for all outstanding RCU callbacks to finish > before continuing. > > [1] Documentation/RCU/rcubarrier.txt Applied in revision 1794. Thanks, Marek