aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorlinke li <[email protected]>2024-04-26 11:24:37 +0800
committerJens Axboe <[email protected]>2024-04-26 07:40:12 -0600
commita4d416dc60980f741f0bfa1f34a1059c498c1b4e (patch)
tree442b8419c20264d41a16b4be300c477a2c4e567e /tools/perf/scripts/python/export-to-postgresql.py
parent039a2e800bcd5beb89909d1a488abf3d647642cf (diff)
io_uring/msg_ring: reuse ctx->submitter_task read using READ_ONCE instead of re-reading it
In io_msg_exec_remote(), ctx->submitter_task is read using READ_ONCE at the beginning of the function, checked, and then re-read from ctx->submitter_task, voiding all guarantees of the checks. Reuse the value that was read by READ_ONCE to ensure the consistency of the task struct throughout the function. Signed-off-by: linke li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions