aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-12-17 07:53:33 -0700
committerJens Axboe <[email protected]>2020-12-17 07:53:33 -0700
commit4bc4a912534a72f1c96f483448f0be16e5a48063 (patch)
tree9db2abd90af8c6c3c3c9ec9d94fbf649ba7d7b34 /tools/perf/util/scripting-engines/trace-event-python.c
parenta146468d76e0462393a3e15b77b8b3ede60e2d06 (diff)
io_uring: hold mmap_sem for mm->locked_vm manipulation
The kernel doesn't seem to have clear rules around this, but various spots are using the mmap_sem to serialize access to modifying the locked_vm count. Play it safe and lock the mm for write when accounting or unaccounting locked memory. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions