summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-08-07 10:31:39 +0300
committerVineet Gupta <vgupta@synopsys.com>2015-08-07 11:26:16 +0300
commit10971638701dedadb58c88ce4d31c9375b224ed6 (patch)
treeb210f8710277b0ae74ea5c8143c3c9f6b5dc5bd1 /arch/x86
parent87ce62802f7a3553234ebf1ae7cd52c8bf272fb9 (diff)
downloadlinux-10971638701dedadb58c88ce4d31c9375b224ed6.tar.xz
ARCv2: spinlock/rwlock/atomics: reduce 1 instruction in exponential backoff
The increment of delay counter was 2 instructions: Arithmatic Shfit Left (ASL) + set to 1 on overflow This can be done in 1 using ROtate Left (ROL) Suggested-by: Nigel Topham <ntopham@synopsys.com> Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: linux-kernel@vger.kernel.org Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions