aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2019-02-27 10:09:56 +0000
committerIngo Molnar <[email protected]>2019-06-17 10:43:44 +0000
commit2234a6d3a28a971182cc91d5679e444516421de0 (patch)
treebea8d20799cc102fe565c3c1c5ccc69802c7bbf6 /fs/proc/array.c
parentx86/percpu, sched/fair: Avoid local_clock() (diff)
downloadkernel-2234a6d3a28a971182cc91d5679e444516421de0.tar.gz
kernel-2234a6d3a28a971182cc91d5679e444516421de0.zip
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) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions