From mboxrd@z Thu Jan 1 00:00:00 1970 From: davem@davemloft.net (David Miller) Date: Tue, 17 Mar 2009 12:28:16 -0700 (PDT) Subject: [ltt-dev] cli/sti vs local_cmpxchg and local_add_return In-Reply-To: <20090317160635.GE10092@Krystal> References: <20090317013220.GA22474@Krystal> <20090317050135.GB6859@linux.vnet.ibm.com> <20090317160635.GE10092@Krystal> Message-ID: <20090317.122816.246078801.davem@davemloft.net> From: Mathieu Desnoyers 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.