diff options
| author | Will Deacon <[email protected]> | 2017-10-24 11:22:49 +0100 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-10-24 13:17:33 +0200 |
| commit | 59ecbbe7b31cd2d86ff9a9f461a00f7e7533aedc (patch) | |
| tree | cb293c6c7810f9d781bb6f0c4017b2b3dd8a27bb /tools/perf/scripts/python | |
| parent | 506458efaf153c1ea480591c5602a5a3ba5a3b76 (diff) | |
locking/barriers: Kill lockless_dereference()
lockless_dereference() is a nice idea, but it gained little traction in
kernel code since its introduction three years ago. This is partly
because it's a pain to type, but also because using READ_ONCE() instead
has worked correctly on all architectures apart from Alpha, which is a
fully supported but somewhat niche architecture these days.
Now that READ_ONCE() has been upgraded to contain an implicit
smp_read_barrier_depends() and the few callers of lockless_dereference()
have been converted, we can remove lockless_dereference() altogether.
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]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions