Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops & better spinning

2013-04-16 Thread Ingo Molnar
* Waiman Long wrote: > On 04/16/2013 05:12 AM, Ingo Molnar wrote: > >* Waiman Long wrote: > > > >>[...] > >> > >>Patches 2 improves the mutex spinning process by reducing contention among > >>the > >>spinners when competing for the mutex. This is done by using a MCS lock to > >>put > >>the

Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops & better spinning

2013-04-16 Thread Waiman Long
On 04/16/2013 05:12 AM, Ingo Molnar wrote: * Waiman Long wrote: [...] Patches 2 improves the mutex spinning process by reducing contention among the spinners when competing for the mutex. This is done by using a MCS lock to put the spinners in a queue so that only the first spinner will try

Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops & better spinning

2013-04-16 Thread Ingo Molnar
* Waiman Long wrote: > [...] > > Patches 2 improves the mutex spinning process by reducing contention among > the > spinners when competing for the mutex. This is done by using a MCS lock to > put > the spinners in a queue so that only the first spinner will try to acquire > the > mutex

Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops better spinning

2013-04-16 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: [...] Patches 2 improves the mutex spinning process by reducing contention among the spinners when competing for the mutex. This is done by using a MCS lock to put the spinners in a queue so that only the first spinner will try to acquire the

Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops better spinning

2013-04-16 Thread Waiman Long
On 04/16/2013 05:12 AM, Ingo Molnar wrote: * Waiman Longwaiman.l...@hp.com wrote: [...] Patches 2 improves the mutex spinning process by reducing contention among the spinners when competing for the mutex. This is done by using a MCS lock to put the spinners in a queue so that only the first

Re: [PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops better spinning

2013-04-16 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: On 04/16/2013 05:12 AM, Ingo Molnar wrote: * Waiman Longwaiman.l...@hp.com wrote: [...] Patches 2 improves the mutex spinning process by reducing contention among the spinners when competing for the mutex. This is done by using a MCS lock to

[PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops & better spinning

2013-04-15 Thread Waiman Long
v1->v2 - Remove the 2 mutex spinner patches and replaced it by another one to improve the mutex spinning process. - Remove changes made to kernel/mutex.h & localize changes in kernel/mutex.c. - Add an optional patch to remove architecture specific check in patch 1. This patch set is

[PATCH 0/3 v2] mutex: Improve mutex performance by doing less atomic-ops better spinning

2013-04-15 Thread Waiman Long
v1-v2 - Remove the 2 mutex spinner patches and replaced it by another one to improve the mutex spinning process. - Remove changes made to kernel/mutex.h localize changes in kernel/mutex.c. - Add an optional patch to remove architecture specific check in patch 1. This patch set is a