[lkml]   [2004]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] remove LOCK_SECTION from x86_64 spin_lock asm

    * Andi Kleen <> wrote:

    > I think the idea was that the spinlock functions should be small
    > enough that they don't have any stack local variables. [...]

    this might work for x64, but even there, are you sure it works even with
    CONFIG_PREEMPT enabled (there the spinlocks are more complex)? It sure
    wont work on x86 so i think we need a generic 'soft PC' solution.

    the alternative would be to unwind the stack - quite some task on some
    platforms ...

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:06    [W:0.029 / U:3.776 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site