Re: [PATCH -mm 0/6] rcu: introduce kfree_rcu V2

From: Ingo Molnar
Date: Tue Mar 03 2009 - 09:10:39 EST



* Lai Jiangshan <laijs@xxxxxxxxxxxxxx> 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
--
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/