lkml.org 
[lkml]   [2017]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] locking/ww_mutex: Replace cpu_relax with cond_resched for tests
On Tue, Feb 28, 2017 at 10:48:53AM +0100, Peter Zijlstra wrote:
> On Tue, Feb 28, 2017 at 09:40:11AM +0000, Chris Wilson wrote:
> > When busy-spinning on a ww_mutex_trylock(), we depend upon the other
> > thread advancing and releasing the lock. This can not happen on a single
> > CPU unless we relinquish it.
>
> Thanks, do you have any clue about those other ww-mutex test fails? So
> far I've not had much luck poking at them.

Not yet, they didn't seem quite so self-explanatory as this trace :(
-Chris

--
Chris Wilson, Intel Open Source Technology Centre

\
 
 \ /
  Last update: 2017-02-28 10:59    [W:0.043 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site