diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-06-29 21:14:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-07-01 17:10:56 +0200 |
commit | e4bd84c069f212c01258e405f86e91f327888e41 (patch) | |
tree | e58441bf268ac1b4e915567afb01b50f6103bc28 /tools/testing/memblock | |
parent | xtensa: fix lock_mm_and_find_vma in case VMA not found (diff) | |
download | linux-e4bd84c069f212c01258e405f86e91f327888e41.tar.xz linux-e4bd84c069f212c01258e405f86e91f327888e41.zip |
mm: Always downgrade mmap_lock if requested
Now that stack growth must always hold the mmap_lock for write, we can
always downgrade the mmap_lock to read and safely unmap pages from the
page table, even if we're next to a stack.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/memblock')
0 files changed, 0 insertions, 0 deletions