Re: [PATCH [RT] 10/14] adjust pi_lock usage in wakeup

2008-02-21 Thread Peter W. Morreale
On Thu, 2008-02-21 at 11:48 -0500, Steven Rostedt wrote: > On Thu, 21 Feb 2008, Gregory Haskins wrote: > > > From: Peter W.Morreale <[EMAIL PROTECTED]> > > > > In wakeup_next_waiter(), we take the pi_lock, and then find out whether > > we have another waiter to add to the pending owner. We can re

Re: [PATCH [RT] 10/14] adjust pi_lock usage in wakeup

2008-02-21 Thread Steven Rostedt
On Thu, 21 Feb 2008, Gregory Haskins wrote: > From: Peter W.Morreale <[EMAIL PROTECTED]> > > In wakeup_next_waiter(), we take the pi_lock, and then find out whether > we have another waiter to add to the pending owner. We can reduce > contention on the pi_lock for the pending owner if we first o

[PATCH [RT] 10/14] adjust pi_lock usage in wakeup

2008-02-21 Thread Gregory Haskins
From: Peter W.Morreale <[EMAIL PROTECTED]> In wakeup_next_waiter(), we take the pi_lock, and then find out whether we have another waiter to add to the pending owner. We can reduce contention on the pi_lock for the pending owner if we first obtain the pointer to the next waiter outside of the pi_