Re: [PATCH 02/12] percpu: introduce arch_raw_cpu_ptr()

From: Christoph Lameter
Date: Fri Jun 13 2014 - 13:10:43 EST


On Thu, 12 Jun 2014, Tejun Heo wrote:

> Currently, archs can override raw_cpu_ptr() directly; however, we
> wanna build a layer of indirection in the generic part of percpu so
> that we can implement generic features there without affecting archs.

Not sure why one would do this. We already have this_cpu_ptr() (arch
independant) and the lower level raw_cpu_ptr() which can be modified by
the arch code.

--
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/