diff options
| author | 2020-12-17 07:53:33 -0700 | |
|---|---|---|
| committer | 2020-12-17 07:53:33 -0700 | |
| commit | 4bc4a912534a72f1c96f483448f0be16e5a48063 (patch) | |
| tree | 9db2abd90af8c6c3c3c9ec9d94fbf649ba7d7b34 /include/linux/phy/git:/ssh: | |
| parent | io_uring: break links on shutdown failure (diff) | |
| download | linux-dev-4bc4a912534a72f1c96f483448f0be16e5a48063.tar.xz linux-dev-4bc4a912534a72f1c96f483448f0be16e5a48063.zip | |
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 'include/linux/phy/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
