commit | 10971638701dedadb58c88ce4d31c9375b224ed6 | [log] [tgz] |
---|---|---|
author | Vineet Gupta <vgupta@synopsys.com> | Fri Aug 07 13:01:39 2015 +0530 |
committer | Vineet Gupta <vgupta@synopsys.com> | Fri Aug 07 13:56:16 2015 +0530 |
tree | b210f8710277b0ae74ea5c8143c3c9f6b5dc5bd1 | |
parent | 87ce62802f7a3553234ebf1ae7cd52c8bf272fb9 [diff] |
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>