Re: [PATCH 05/36] block,rcu: convertcall_rcu(disk_free_ptbl_rcu_cb) to kfree_rcu()

From: Matthew Wilcox
Date: Fri Mar 18 2011 - 07:21:04 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/