On Wed, 6 Feb 2008, Greg KH wrote: > On Tue, Jan 22, 2008 at 03:19:33PM -0500, Chuck Ebbert wrote: > > On 01/22/2008 07:35 AM, Thomas Gleixner wrote: > > > > > > That's a long standing bug in both the PI futex and the standard futex > > > code. Needs to go to stable as well. > > > > > > > Here's the 2.6.23 version: > > > > > > Subject: x86: fix missing exception entry for SMP alternatives in futex macros > > From: Thomas Gleixner > > I don't see this in Linus's tree, am I just missing it? Do you have a > git commit id? http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d55b9923a1b7ea8193b8875c57ec940dc2ff027 I did a simpler version by just replacing LOCK_PREFIX with lock. The reason is, that we would need a separate implementation for __futex_atomic_op1() as well, due to: case FUTEX_OP_ADD: __futex_atomic_op1(LOCK_PREFIX "xaddl %0, %2", ret, oldval, And it's not really worth the trouble. Backport to 2.6.24 and 2.6.23 attached. Thanks, tglx