From: Will Deacon Date: Tue, 21 Jan 2014 23:36:10 +0000 (-0800) Subject: locking/mcs: Allow architectures to hook in to contended paths X-Git-Tag: v3.15-rc1~184^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e207552e64ea053a33e856828ad7915484911d06;p=pandora-kernel.git locking/mcs: Allow architectures to hook in to contended paths When contended, architectures may be able to reduce the polling overhead in ways which aren't expressible using a simple relax() primitive. This patch allows architectures to hook into the mcs_{lock,unlock} functions for the contended cases only. Reviewed-by: Paul E. McKenney Signed-off-by: Will Deacon Signed-off-by: Tim Chen Signed-off-by: Peter Zijlstra Cc: Linus Torvalds Cc: Andrew Morton Link: http://lkml.kernel.org/r/1390347370.3138.65.camel@schen9-DESK Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed