Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465915

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

From Imre Deak <imre.deak@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of waiter-spinner
Date 2016-08-19 04:40 +0200
Message-ID <s7HSV-892-3@gated-at.bofh.it> (permalink)
References <s4Gql-b4-5@gated-at.bofh.it> <s4I8O-1sK-29@gated-at.bofh.it> <s7Gka-6XF-23@gated-at.bofh.it> <s7Gka-6XF-21@gated-at.bofh.it>
Organization Intel

Show all headers | View raw


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
> properly.
> 
> I've also stuck something based on Jason's patch on top. Please have
> a
> look at:
> 
>   https://git.kernel.org/cgit/linux/kernel/git/peterz/queue.git/log/?
> h=locking/core
> 
> compile tested only so far..

It works for me and fixes my test case.

Nitpick: "Try-acquire now that we got woken at the head of the queue."
would be more accurate by also adding "or received a signal."

--Imre

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of  waiter-spinner Peter Zijlstra <peterz@infradead.org> - 2016-08-19 03:00 +0200
  Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of  waiter-spinner Peter Zijlstra <peterz@infradead.org> - 2016-08-19 03:00 +0200
  Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of  waiter-spinner Imre Deak <imre.deak@intel.com> - 2016-08-19 04:40 +0200
  Re: [PATCH v5 3/3] locking/mutex: Ensure forward progress of  waiter-spinner Jason Low <jason.low2@hpe.com> - 2016-08-19 06:10 +0200

csiph-web