Re: [PATCH] rcu: move some code from macro to function

From: Lai Jiangshan
Date: Sun Mar 28 2010 - 21:03:51 EST


Paul E. McKenney wrote:
> On Sun, Mar 28, 2010 at 11:12:30AM +0800, Lai Jiangshan wrote:
>> cleanup: move some code from macro to function
>
> Nice!
>
> I have queued this for RCU 2.6.35, with the following commit message:
>
> Shrink the RCU_INIT_FLAVOR() macro by moving all but the
> initialization of the ->rda[] array to rcu_init_one().
> The call to rcu_init_one() can then be moved to the end
> of the RCU_INIT_FLAVOR() macro, which is required because
> rcu_boot_init_percpu_data(), which is now called from
> rcu_init_one(), depends on the initialization of the ->rda[]
> array.
>
> Seem reasonable?
>
> Thanx, Paul
>

OK
Thanks, Lai
--
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/