[lkml]   [2010]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 13/14] x86/ticketlock: add slowpath logic
    On 11/17/2010 12:56 AM, Jeremy Fitzhardinge wrote:
    > On 11/17/2010 12:52 AM, Jeremy Fitzhardinge wrote:
    >> But, yes, %z0 sounds interesting. Is it documented anywhere? I think
    >> I've tried to use it in the past and run into gcc bugs.
    > This one:
    > Should be OK in this case because there's no 64-bit values to be seen...
    Hm, it fails when __ticket_t is 16 bits:

    /home/jeremy/git/linux/arch/x86/include/asm/spinlock.h: Assembler messages:
    /home/jeremy/git/linux/arch/x86/include/asm/spinlock.h:73: Error: suffix
    or operands invalid for `or'

    lock; ors $1, 2(%rbx) #,

    So I don't think that's going to work out...


     \ /
      Last update: 2010-11-17 10:11    [W:0.018 / U:2.900 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site