diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-10-08 19:47:48 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2017-11-22 02:20:55 +0300 |
commit | 5b9027d6d044d4917992119d184ab0bb616489cc (patch) | |
tree | 80b05c4295140b9d1828c1fb0475c3d5bd04f214 /arch/arm | |
parent | 4d431290402c8d867af7ba45ee75407d68748c4a (diff) | |
download | linux-5b9027d6d044d4917992119d184ab0bb616489cc.tar.xz |
ARCv2: perf: optimize given that num counters <= 32
use ffz primitive which maps to ARCv2 instruction, vs. non atomic
__test_and_set_bit
It is unlikely if we will even have more than 32 counters, but still add
a BUILD_BUG to catch that
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions