All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Oleg Nesterov <oleg@tv-sign.ru>
Cc: linux-kernel@vger.kernel.org, torvalds@osdl.org
Subject: Re: [PATCH] WAIT_BIT_QUEUE
Date: Mon, 10 May 2004 04:30:10 -0700	[thread overview]
Message-ID: <20040510043010.0c9dd1e8.akpm@osdl.org> (raw)
In-Reply-To: <409F668A.CEFD60F6@tv-sign.ru>

Oleg Nesterov <oleg@tv-sign.ru> wrote:
>
> a better (imho) alternative to filtered wakeups.
>  see http://marc.theaimsgroup.com/?l=linux-kernel&m=108375670411475&w=2
> 
>  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.


  reply	other threads:[~2004-05-10 11:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-10 11:24 [PATCH] WAIT_BIT_QUEUE Oleg Nesterov
2004-05-10 11:30 ` Andrew Morton [this message]
2004-05-10 12:31   ` Oleg Nesterov
2004-05-10 14:55 ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040510043010.0c9dd1e8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@tv-sign.ru \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.