Re: [RFC][PATCH 0/5] Introduce checks for preemptable code forthis_cpu_read/write()

From: Peter Zijlstra
Date: Tue Sep 20 2011 - 13:09:24 EST


On Tue, 2011-09-20 at 12:56 -0400, Steven Rostedt wrote:
> random_cpu_*() // Thomas's idea

I like this one best..

But you forgot do deal with the irqsafe_cpu() crap, that's the same
brainfart as this_cpu() but more expensive because it frobs IRQ state.
--
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/