diff options
| author | Matthew Auld <[email protected]> | 2023-07-10 10:40:39 +0100 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2023-12-21 11:35:22 -0500 |
| commit | 38fa29dc2b73b54299e973d292ec7fd507d3b8c0 (patch) | |
| tree | be5b29491cc4c94538d7a4ccb5c908dcd915dbad /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | b06d47be7c83165d3b3e45e1d5f9520b79c7f5cc (diff) | |
drm/xe/tlb: drop unnecessary smp_wmb()
wake_up_all() and wait_event_timeout() already have the correct barriers
as per https://www.kernel.org/doc/Documentation/memory-barriers.txt.
This should ensure that the seqno_recv write can't be re-ordered wrt to
the actual wake_up_all() i.e we get woken up but there is no write. The
reader side with wait_event_timeout() also has the correct barriers.
With that drop the hand rolled smp_wmb(), which is anyway missing some
kind of matching barrier on the reader side.
Signed-off-by: Matthew Auld <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions