[lkml]   [2014]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] futex: avoid race between requeue and wake
On Tue, Apr 08, 2014 at 10:33:55AM -0700, Linus Torvalds wrote:
> Hmm. And let's think about that powerpc race, where "spin_is_locked()"
> can be false when somebody is waiting to get the lock..

Right; so in the original discussion I never really got to why that is a
problem. A pending waiter cannot modify the wait list, so either we see
the current holder, or we see a stable list.

So I had to hop on a plane while that discussion was happening and while
I did briefly task to Davidlohr in Napa his explanation didn't stick in
my jet-leg addled brain.

Afterwards the discussion got lost in the pile of unread mail.

I'll go re-read that discussion and look up this thread to see if
things will start to make sense.

 \ /
  Last update: 2014-04-08 21:01    [W:0.083 / U:1.968 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site