On Sat, Dec 13, 2014 at 4:33 PM, Al Viro <v...@zeniv.linux.org.uk> wrote: > > So does SMP - this_cpu_dec() relies on preemption being disabled.
No. really. It very much does not. Not on x86, not elsewhere. It's part of the whole point of "this_cpu_p()". They are preemption and interrupt safe. It's the "__this_cpu_op()" ones that need external protection. Linus -- 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/