aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJoanne Koong <joannelkoong@gmail.com>2025-12-04 15:54:50 -0800
committerJens Axboe <axboe@kernel.dk>2025-12-05 09:52:02 -0700
commita4c694bfc2455e82b7caf6045ca893d123e0ed11 (patch)
treea2966e39c8205f2c96d24bcf09bce48ae7e1ba62 /tools/perf/scripts/python/bin
parentio_uring/kbuf: use READ_ONCE() for userspace-mapped memory (diff)
downloadlinux-a4c694bfc2455e82b7caf6045ca893d123e0ed11.tar.gz
linux-a4c694bfc2455e82b7caf6045ca893d123e0ed11.zip
io_uring/kbuf: use WRITE_ONCE() for userspace-shared buffer ring fields
buf->addr and buf->len reside in memory shared with userspace. They should be written with WRITE_ONCE() to guarantee atomic stores and prevent tearing or other unsafe compiler optimizations. Signed-off-by: Joanne Koong <joannelkoong@gmail.com> Cc: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions