diff options
author | Johannes Berg <[email protected]> | 2016-08-11 11:50:21 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-08-18 15:36:13 +0200 |
commit | f17b3ea3d2df7c9bf3ce1dbd65b5fd7061f8e787 (patch) | |
tree | 5d09e44a82d1aac1bb0658aefbba3bfee90e561c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3684b03d8e9a889eda94ee74421959a9d55e5e19 (diff) |
Revert "drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference"
This reverts commit:
fa7d81bb3c269 ("drm/fb-helper: Reduce READ_ONCE(master) to lockless_dereference")
As Peter explained:
[...] lockless_dereference() is _stronger_ than READ_ONCE(), not weaker.
[...]
Also, clue is in the name: 'dereference', you don't actually dereference
the pointer here, only load it.
My next patch breaks the compile without this revert, because it assumes
you want to deference and thus also need the struct type visible (which
it isn't here), so revert it.
Tested-by: Paul E. McKenney <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Linus Torvalds <[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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions