From: Andrew Morton
Date: Mon May 10 2004 - 06:32:13 EST

Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> a better (imho) alternative to filtered wakeups.
> see
> process waiting in wait_on_page_bit() will be woken only after
> the required bit is cleared.
> so there is no need to recheck the bit in do/while loop, because
> there is no false wakeups now.

yup. Please see the new patches in 2.6.6-mm1 - the waiter puts the bit
number into the waitqueue structure and the waker tests it before
delivering the wakeup.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at