smp, cpumask: Use non-atomic cpumask_{set,clear}_cpu()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 19 May 2017 10:58:25 +0000 (12:58 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 23 May 2017 08:01:32 +0000 (10:01 +0200)
commit6c8557bdb28df3ae97476c5e2aed6373cd235aab
tree2b134869f2f58494ac3ae664cf6403cb4ff2cbff
parent3fc5b3b6a80b2e08a0fec0056208c5dff757e547
smp, cpumask: Use non-atomic cpumask_{set,clear}_cpu()

The cpumasks in smp_call_function_many() are private and not subject
to concurrency, atomic bitops are pointless and expensive.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/cpumask.h
kernel/smp.c