summaryrefslogtreecommitdiffstats
path: root/lib/crc8.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2019-02-27 11:09:56 +0100
committerIngo Molnar <mingo@kernel.org>2019-06-17 12:43:44 +0200
commit2234a6d3a28a971182cc91d5679e444516421de0 (patch)
treebea8d20799cc102fe565c3c1c5ccc69802c7bbf6 /lib/crc8.c
parentx86/percpu, sched/fair: Avoid local_clock() (diff)
downloadlinux-2234a6d3a28a971182cc91d5679e444516421de0.tar.xz
linux-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) <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>
Diffstat (limited to 'lib/crc8.c')
0 files changed, 0 insertions, 0 deletions