commit | c137381f71aec755fbf47cd4e9bd4dce752c054c | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Sat Jul 08 12:12:10 2023 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jul 08 14:08:02 2023 -0700 |
tree | 13f8dc7926e331b638e943a6759f9be7c87b7484 | |
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: stable@vger.kernel.org Signed-off-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>