diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-12-17 07:53:33 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-17 07:53:33 -0700 |
commit | 4bc4a912534a72f1c96f483448f0be16e5a48063 (patch) | |
tree | 9db2abd90af8c6c3c3c9ec9d94fbf649ba7d7b34 /tools/perf/scripts/python/syscall-counts.py | |
parent | a146468d76e0462393a3e15b77b8b3ede60e2d06 (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 <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions