Re: [gcv v3 06/35] scheduler: Replace __get_cpu_var uses

From: Steven Rostedt
Date: Thu Aug 29 2013 - 13:33:08 EST


On Thu, Aug 29, 2013 at 04:57:43PM +0000, Christoph Lameter wrote:
>
> We could add a ____this_cpu variant that would be used in the cases we do
> not want preemption checks? There should not be too many but it will
> mean a whole lot of new definitions in percpu.h.

Let's get away from underscores as they are meaningless.

A this_cpu_atomic() or other descriptive name would be much more
appropriate.

-- Steve

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