lkml.org 
[lkml]   [2014]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v9 03/19] qspinlock: Add pending bit
On Thu, Apr 17, 2014 at 05:20:31PM -0400, Waiman Long wrote:
> >>+ while ((val = atomic_read(&lock->val))& _Q_LOCKED_MASK)
> >>+ arch_mutex_cpu_relax();
> >That was a cpu_relax().
>
> Yes, but arch_mutex_cpu_relax() is the same as cpu_relax() for x86.

Yeah, so why bother typing more?

Let the s390 people sort that if/when they try and make this work for
them.


\
 
 \ /
  Last update: 2014-04-18 11:21    [W:0.943 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site