From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] fs: use kfree_rcu instead of i_callback Date: Sun, 5 Oct 2014 04:48:06 +0100 Message-ID: <20141005034806.GX7996@ZenIV.linux.org.uk> References: <20141005030040.GA830@vega.jjdev.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: John de la Garza Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:40042 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751010AbaJEDsI (ORCPT ); Sat, 4 Oct 2014 23:48:08 -0400 Content-Disposition: inline In-Reply-To: <20141005030040.GA830@vega.jjdev.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sat, Oct 04, 2014 at 11:00:42PM -0400, John de la Garza wrote: > Since the callback is doing nothing more than calling kfree() we can > use kfree_rcu() instead of having to use a callback. Except that this > - kmem_cache_free(inode_cachep, inode); isn't kfree()...