• Tim Chen's avatar
    locking/mcs: Allow architecture specific asm files to be used for contended case · ddf1d169
    Tim Chen authored
    This patch allows each architecture to add its specific assembly optimized
    arch_mcs_spin_lock_contended and arch_mcs_spinlock_uncontended for
    MCS lock and unlock functions.
    Signed-off-by: 's avatarTim Chen <tim.c.chen@linux.intel.com>
    Cc: Scott J Norton <scott.norton@hp.com>
    Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
    Cc: AswinChandramouleeswaran <aswin@hp.com>
    Cc: George Spelvin <linux@horizon.com>
    Cc: Rik vanRiel <riel@redhat.com>
    Cc: Andrea Arcangeli <aarcange@redhat.com>
    Cc: MichelLespinasse <walken@google.com>
    Cc: Peter Hurley <peter@hurleysoftware.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Alex Shi <alex.shi@linaro.org>
    Cc: Dave Hansen <dave.hansen@intel.com>
    Cc: Tim Chen <tim.c.chen@linux.intel.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: "Figo.zhang" <figo1802@gmail.com>
    Cc: "Paul E.McKenney" <paulmck@linux.vnet.ibm.com>
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: Davidlohr Bueso <davidlohr.bueso@hp.com>
    Cc: Waiman Long <waiman.long@hp.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Matthew R Wilcox <matthew.r.wilcox@intel.com>
    Signed-off-by: 's avatarPeter Zijlstra <peterz@infradead.org>
    Link: http://lkml.kernel.org/r/1390347382.3138.67.camel@schen9-DESKSigned-off-by: 's avatarIngo Molnar <mingo@kernel.org>
    ddf1d169
mcs_spinlock.h 260 Bytes