Re: [PATCH v3 5/5] mutex: Move mutex spinning code from sched/core.c back to mutex.c

2013-04-17 Thread Waiman Long
On 04/17/2013 03:18 AM, Ingo Molnar wrote: * Waiman Long wrote: As mentioned by Ingo, the SCHED_FEAT_OWNER_SPIN scheduler feature bit was really just an early hack to make with/without mutex-spinning testable. So it is no longer necessary. This patch removes the SCHED_FEAT_OWNER_SPIN feature

Re: [PATCH v3 5/5] mutex: Move mutex spinning code from sched/core.c back to mutex.c

2013-04-17 Thread Ingo Molnar
* Waiman Long wrote: > As mentioned by Ingo, the SCHED_FEAT_OWNER_SPIN scheduler feature > bit was really just an early hack to make with/without mutex-spinning > testable. So it is no longer necessary. > > This patch removes the SCHED_FEAT_OWNER_SPIN feature bit and move the > mutex spinning c

[PATCH v3 5/5] mutex: Move mutex spinning code from sched/core.c back to mutex.c

2013-04-16 Thread Waiman Long
As mentioned by Ingo, the SCHED_FEAT_OWNER_SPIN scheduler feature bit was really just an early hack to make with/without mutex-spinning testable. So it is no longer necessary. This patch removes the SCHED_FEAT_OWNER_SPIN feature bit and move the mutex spinning code from kernel/sched/core.c back to