On Wed, 16 Oct 2013 18:25:37 +0200
Peter Zijlstra <pet...@infradead.org> wrote:
 
> But yes, the way its set-up an arch could indeed provide __this_cup_$op
> itself -- without providing the _$n variants; in which case the
> raw_cpu_$op provided by you is broken.
> 
> Can't we have a 'simple' coccinelle script rename the entire __this_cpu*
> implementation over to raw_cpu* and then provide generic __this_cpu* ->
> raw_cpu maps?
> 

Perhaps we should match the way spinlocks are.


this_cpu*() be the normal use.

raw_this_cpu() could perhaps not do the checks?

arch_this_cpu() be the architecture specific version of this_cpu*


-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to