diff options
author | Suren Baghdasaryan <[email protected]> | 2023-07-08 12:12:10 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2023-07-08 14:08:02 -0700 |
commit | c137381f71aec755fbf47cd4e9bd4dce752c054c (patch) | |
tree | 13f8dc7926e331b638e943a6759f9be7c87b7484 /net/switchdev/switchdev.c | |
parent | 7fcd473a6455450428795d20db7afd2691c92336 (diff) |
mm: lock a vma before stack expansion
With recent changes necessitating mmap_lock to be held for write while
expanding a stack, per-VMA locks should follow the same rules and be
write-locked to prevent page faults into the VMA being expanded. Add
the necessary locking.
Cc: [email protected]
Signed-off-by: Suren Baghdasaryan <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions