Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-18 Thread Jason Low
On Thu, 2016-08-18 at 17:58 +0200, Peter Zijlstra wrote: > On Thu, Aug 11, 2016 at 11:01:27AM -0400, Waiman Long wrote: > > The following is the updated patch that should fix the build error in > > non-x86 platform. > > > > This patch was whitespace challenged, but I think I munged it properly. >

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-18 Thread Imre Deak
On to, 2016-08-18 at 17:58 +0200, Peter Zijlstra wrote: > On Thu, Aug 11, 2016 at 11:01:27AM -0400, Waiman Long wrote: > > The following is the updated patch that should fix the build error > > in > > non-x86 platform. > > > > This patch was whitespace challenged, but I think I munged it > proper

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-18 Thread Peter Zijlstra
On Thu, Aug 18, 2016 at 11:04:40AM -0700, Jason Low wrote: > On Thu, 2016-08-18 at 17:58 +0200, Peter Zijlstra wrote: > > On Thu, Aug 11, 2016 at 11:01:27AM -0400, Waiman Long wrote: > > > The following is the updated patch that should fix the build error in > > > non-x86 platform. > > > > > > >

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-18 Thread Peter Zijlstra
On Thu, Aug 11, 2016 at 11:01:27AM -0400, Waiman Long wrote: > The following is the updated patch that should fix the build error in > non-x86 platform. > This patch was whitespace challenged, but I think I munged it properly. I've also stuck something based on Jason's patch on top. Please have

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-11 Thread Waiman Long
On 08/10/2016 02:25 PM, Waiman Long wrote: As both an optimistic spinner and a waiter-spinner (a woken task from the wait queue spinning) can be spinning on the lock at the same time, we cannot ensure forward progress for the waiter-spinner. So it is possible for the waiter-spinner to be starved

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-10 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.8-rc1 next-20160809] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Waiman-Long/locking-mutex-Enable-optimisti

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-10 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.8-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Waiman-Long/locking-mutex-Enable-optimistic-spinning-of-

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner

2016-08-10 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.8-rc1 next-20160809] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Waiman-Long/locking-mutex-Enable-optimisti