lkml.org 
[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v6 3/5] qrwlock: Enable fair queue read/write lock
From
On Mon, Nov 18, 2013 at 10:34 AM, Andi Kleen <andi@firstfloor.org> wrote:
>
> FWIW unfair can be faster in some cases. It depends on the workload.

Sure. And we've never cared before.

When we switched over to the ticket spinlocks, we actually had
*numbers* about how the old unfair spinlocks could be faster. And we
still didn't leave a "unfair spinlocks" option. Because it didn't make
sense.

Why would it make sense here?

Linus


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