linux_dsm_epyc7002/arch/x86/include
Peter Zijlstra 2234a6d3a2 x86/percpu: Optimize raw_cpu_xchg()
Since raw_cpu_xchg() doesn't need to be IRQ-safe, like
this_cpu_xchg(), we can use a simple load-store instead of the cmpxchg
loop.

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>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2019-06-17 12:43:44 +02:00
..
asm x86/percpu: Optimize raw_cpu_xchg() 2019-06-17 12:43:44 +02:00
uapi/asm treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00