Re: [PATCH v2 1/5] mutex: In mutex_can_spin_on_owner(), return false if task need_resched()
From
Davidlohr Bueso <>
Date
Tue, 28 Jan 2014 13:09:26 -0800
On Tue, 2014-01-28 at 11:13 -0800, Jason Low wrote: > The mutex_can_spin_on_owner() function should also return false if the > task needs to be rescheduled to avoid entering the MCS queue when it > needs to reschedule. > > Signed-off-by: Jason Low <jason.low2@hp.com>