From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Graf Subject: Re: [PATCH 4/6] rhashtable: Free bucket tables asynchronously after rehash Date: Fri, 13 Mar 2015 15:42:12 +0000 Message-ID: <20150313154212.GF17829@casper.infradead.org> References: <20150313095607.GA598@gondor.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org To: Herbert Xu Return-path: Received: from casper.infradead.org ([85.118.1.10]:57612 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752896AbbCMPmN (ORCPT ); Fri, 13 Mar 2015 11:42:13 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 03/13/15 at 08:57pm, Herbert Xu wrote: > There is in fact no need to wait for an RCU grace period in the > rehash function, since all insertions are guaranteed to go into > the new table through spin locks. > > This patch uses call_rcu to free the old/rehashed table at our > leisure. > > Signed-off-by: Herbert Xu Acked-by: Thomas Graf