Re: [PATCH 1/2] module: encapsulate percpu handling better and record percpu_size

From: Rusty Russell
Date: Mon Mar 29 2010 - 04:26:31 EST


On Wed, 10 Mar 2010 08:26:10 pm Tejun Heo wrote:
> Better encapsulate module static percpu area handling so that code
> outsidef of CONFIG_SMP ifdef doesn't deal with mod->percpu directly
> and add mod->percpu_size and record percpu_size in it. Both percpu
> fields are compiled out on UP. While at it, mark mod->percpu w/
> __percpu.

Nice cleanup.

Acked-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

Thanks!
Rusty.
--
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/