Re: cli/sti vs local_cmpxchg and local_add_return

From: David Miller
Date: Tue Mar 17 2009 - 15:28:38 EST


From: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>
Date: Tue, 17 Mar 2009 12:06:35 -0400

> But powerpc has non-maskable interrupts, so for less than 4 cycles, I
> think it's better to stay with the local_t variant to be NMI-safe.

Sparc64 has non-maskable interrupts too btw.
--
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/