Re: [this_cpu_xx 01/11] Introduce this_cpu_ptr() and generic this_cpu_*operations
From: Christoph Lameter
Date: Thu Jun 11 2009 - 11:11:10 EST
On Wed, 10 Jun 2009, Tejun Heo wrote:
> Looks good to me. The only qualm I have is that I wish these macros
> take pointer instead of the symbol name directly. Currently it's not
They take the adress of the scalar. No symbol name is involved.
> possible due to the per_cpu__ appending thing but those should go with
> Rusty's patches and the same ops should be useable for both static and
> dynamic ones. One problem which may occur with such scheme is when
They are usable for both as the following patches show.
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/