Re: [PATCH 2/2 v2] sched/wait: Introduce lock breaker in wake_up_page_bit
From: Linus Torvalds
Date: Sun Aug 27 2017 - 17:42:17 EST
On Sun, Aug 27, 2017 at 2:40 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> End result: page is unlocked, CPU3 is waiting, nothing will wake CPU3 up.
Not CPU3. CPU3 was the waker. It's thread 2 that is waiting and never
got woken up, of course.
Other than that, the scenario still looks real to me.
Ideas?
Linus