• Andi Kleen's avatar
    [PATCH] Clean up read write lock assembly · 9a0b26e6
    Andi Kleen authored
    - Move the slow path fallbacks to their own assembly files
    This makes them much easier to read and is needed for the next change.
    - Add CFI annotations for unwinding (XXX need review)
    - Remove constant case which can never happen with out of line spinlocks
    - Use patchable LOCK prefixes
    - Don't use lock sections anymore for inline code because they can't
    be expressed by the unwinder (this adds one taken jump to the lock
    fast path)
    
    Cc: jbeulich@novell.com
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    9a0b26e6
spinlock.h 2.86 KB