]> Git Repo - linux.git/commit
locking/barriers: Convert users of lockless_dereference() to READ_ONCE()
authorWill Deacon <[email protected]>
Tue, 24 Oct 2017 10:22:48 +0000 (11:22 +0100)
committerIngo Molnar <[email protected]>
Tue, 24 Oct 2017 11:17:33 +0000 (13:17 +0200)
commit506458efaf153c1ea480591c5602a5a3ba5a3b76
treec4ac0a89bf23993036720ec8883fff0740bf9019
parent76ebbe78f7390aee075a7f3768af197ded1bdfbb
locking/barriers: Convert users of lockless_dereference() to READ_ONCE()

READ_ONCE() now has an implicit smp_read_barrier_depends() call, so it
can be used instead of lockless_dereference() without any change in
semantics.

Signed-off-by: Will Deacon <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
13 files changed:
arch/x86/events/core.c
arch/x86/include/asm/mmu_context.h
arch/x86/kernel/ldt.c
drivers/md/dm-mpath.c
fs/dcache.c
fs/overlayfs/ovl_entry.h
fs/overlayfs/readdir.c
include/linux/rculist.h
include/linux/rcupdate.h
kernel/events/core.c
kernel/seccomp.c
kernel/task_work.c
mm/slab.h
This page took 0.067382 seconds and 4 git commands to generate.