[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: condvar wakeups
- From: "Perez-Gonzalez, Inaky" <inaky perez-gonzalez intel com>
- To: "'Ingo Molnar'" <mingo elte hu>
- Cc: "'Saurabh Desai'" <sdesai austin ibm com>, "'Ulrich Drepper'" <drepper redhat com>, "'NPTL mailing list'" <phil-list redhat com>
- Subject: RE: condvar wakeups
- Date: Wed, 14 May 2003 13:16:32 -0700
> From: Ingo Molnar [mailto:mingo elte hu]
>
> > Call me pedantic, please, but if we are attaching so many waiters to a
> > new page, shall not we unpin q->page before requeuing, then pin that new
> > page once per waiter and then at the tail of futex_wait() unpin
> > q->page?
> >
> > Unless I am missing anything, once we exit from requeue(), page2 is not
> > pinned by anyone, so it could be perfectly be taken out to swap space
> > for a walk.
>
> you are completely right - the counts are messed up.
Do you want a patch for this or you want to tackle it down
yourself?
Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
(and my fault)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]