Vineet Gupta 5b9027d6d0 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>
2017-11-21 15:20:55 -08:00
..
2017-10-28 10:53:24 -07:00
2017-10-27 20:41:05 -07:00
2017-10-20 22:24:48 +02:00
2017-09-09 14:48:21 -07:00
2017-10-03 17:54:26 -07:00
2017-09-15 12:47:21 -07:00
2017-09-13 11:52:18 -07:00
2017-09-29 10:07:44 +02:00