lkml.org 
[lkml]   [2009]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2009-03-03 15:13    [W:0.674 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site