sched/fair: Use non-atomic cpumask_{set,clear}_cpu()

The cpumasks updated here are not subject to concurrency and using
atomic bitops for them is pointless and expensive. Use the non-atomic
variants instead.

Suggested-by: Peter Zijlstra <>
Signed-off-by: Viresh Kumar <>
Cc: Linus Torvalds <>
Cc: Thomas Gleixner <>
Cc: Vincent Guittot <>
Signed-off-by: Ingo Molnar <>
2 files changed