lkml.org 
[lkml]   [2014]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] introduce atomic_pointer to fix a race condition in cancelable mcs spinlocks
On 06/02/2014 10:25 AM, Waiman Long wrote:
>
> Doing an xchg is a very expensive operation compared with ACCESS_ONCE. I
> will not suggest doing that to make it right for PA-RISC at the expense
> of performance in other architectures.
>

And of course, this gets into the toxic question: what are reasonable
minimum requirements for Linux? How far do we need to stretch to
support niche architectures which have very small (Linux) userbases?

-hpa




\
 
 \ /
  Last update: 2014-06-02 20:21    [W:0.707 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site