Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754003Ab1CRLU7 (ORCPT ); Fri, 18 Mar 2011 07:20:59 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:42994 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110Ab1CRLUy (ORCPT ); Fri, 18 Mar 2011 07:20:54 -0400 Date: Fri, 18 Mar 2011 05:20:50 -0600 From: Matthew Wilcox To: Jens Axboe Cc: Lai Jiangshan , "Paul E. McKenney" , Ingo Molnar , Robert Love , "James E.J. Bottomley" , Neil Horman , "David S. Miller" , Alexey Kuznetsov , "Pekka Savola (ipv6)" , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , Eric Dumazet , Stephen Hemminger , Tejun Heo , Jarek Poplawski , linux-kernel@vger.kernel.org, devel@open-fcoe.org, linux-scsi@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 05/36] block,rcu: convert call_rcu(disk_free_ptbl_rcu_cb) to kfree_rcu() Message-ID: <20110318112049.GA13806@parisc-linux.org> References: <4D82D071.5020703@cn.fujitsu.com> <4D82D3FF.2080303@cn.fujitsu.com> <4D82D4C2.8020503@cn.fujitsu.com> <4D8302E9.30303@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D8302E9.30303@kernel.dk> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 840 Lines: 22 On Fri, Mar 18, 2011 at 07:59:53AM +0100, Jens Axboe wrote: > On 2011-03-18 04:42, Lai Jiangshan wrote: > > > > > > The rcu callback disk_free_ptbl_rcu_cb() just calls a kfree(), > > so we use kfree_rcu() instead of the call_rcu(disk_free_ptbl_rcu_cb). > > Thanks, I'll add this. Don't be in too much of a hurry ... kfree_rcu() doesn't appear to have hit Linus' tree yet. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/