lkml.org 
[lkml]   [2010]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4, v2] x86: enlightenment for ticket spin locks - improve yield behavior on Xen
>>> On 30.06.10 at 10:11, Peter Zijlstra <peterz@infradead.org> wrote:
> On Tue, 2010-06-29 at 15:35 +0100, Jan Beulich wrote:
>>
>> The (only) additional overhead this introduces for native execution is
>> the writing of the owning CPU in the lock acquire paths.
>
> Uhm, and growing the size of spinlock_t to 6 (or 8 bytes when aligned)
> bytes when NR_CPUS>256.

Indeed, I should have mentioned that. Will do so in an eventual
next version.

Jan



\
 
 \ /
  Last update: 2010-06-30 10:51    [W:0.198 / U:24.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site