diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-08-07 09:31:39 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-08-07 10:26:16 +0200 |
commit | 10971638701dedadb58c88ce4d31c9375b224ed6 (patch) | |
tree | b210f8710277b0ae74ea5c8143c3c9f6b5dc5bd1 /mm/slab_common.c | |
parent | ARC: Make pt_regs regs unsigned (diff) | |
download | linux-10971638701dedadb58c88ce4d31c9375b224ed6.tar.xz linux-10971638701dedadb58c88ce4d31c9375b224ed6.zip |
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 'mm/slab_common.c')
0 files changed, 0 insertions, 0 deletions