[Top] [All Lists]

Re: futex_wake_op deadlock?

To: David Daney <>
Subject: Re: futex_wake_op deadlock?
From: Ralf Baechle <>
Date: Tue, 20 Nov 2007 19:00:41 +0000
Cc: Kaz Kylheku <>,
In-reply-to: <>
Original-recipient: rfc822;
References: <> <DDFD17CC94A9BD49A82147DDF7D545C54DCDE2@exchange.ZeugmaSystems.local> <> <>
User-agent: Mutt/1.5.17 (2007-11-01)
On Tue, Nov 20, 2007 at 10:29:47AM -0800, David Daney wrote:

>> Notice the branch at the end of the fixup code, it goes back to the
>> SC instruction.  The SC instruction took an exception so it will not have
>> changed $1 so the loop will continue endless unless by coincidence the
>> value to be stored from $1 happened to be zero.
>> Obviously this one was MIPS specific and may hit all supported ABIs.  So
>> my initial suspicion this might be the issue David Miller recently
>> discovered in the binary compat code isn't true.  And it's a local DoS
>> probably for all of 2.6.16 and up.
> I mostly similar code is in 2.6.15, so I think it is effected as well. 
> 2.6.12 on the other hand doesn't seem to have futex.h

It originally appeared in the lmo kernel for 2.6.14-rc1 and a little
after the 2.6.14 release in

If I say 2.6.16 then it's simply that I don't ever look at anything that
doesn't have a -stable branch.


<Prev in Thread] Current Thread [Next in Thread>