Messages in this thread | | | Date | Tue, 3 Mar 2009 15:09:55 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH -mm 0/6] rcu: introduce kfree_rcu V2 |
| |
* Lai Jiangshan <laijs@cn.fujitsu.com> wrote:
> > There are 23 instances where the rcu callback just does > > kfree(containerof(head,struct whatever_struct,rcu_member)); > > The 23 instances exist because there are 23 'struct > whatever_struct' with their individual rcu_member. These > patches creates a generic kfree_rcu() function that removes > the need for these 23 helpers.
Nice idea. The patches dont actually remove the RCU helpers anywhere. Might be useful to include a few example conversions of this facility as well, so that the total impact can be seen.
Ingo
| |