diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-08-07 13:01:39 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-08-07 13:56:16 +0530 |
commit | 10971638701dedadb58c88ce4d31c9375b224ed6 (patch) | |
tree | b210f8710277b0ae74ea5c8143c3c9f6b5dc5bd1 /crypto/chainiv.c | |
parent | 87ce62802f7a3553234ebf1ae7cd52c8bf272fb9 (diff) | |
download | linux-10971638701dedadb58c88ce4d31c9375b224ed6.tar.bz2 |
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 'crypto/chainiv.c')
0 files changed, 0 insertions, 0 deletions