summaryrefslogtreecommitdiff
path: root/mm/mremap.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2023-06-29 22:14:14 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2023-07-01 18:10:56 +0300
commite4bd84c069f212c01258e405f86e91f327888e41 (patch)
treee58441bf268ac1b4e915567afb01b50f6103bc28 /mm/mremap.c
parent03f889378f33aa9a9d8e5f49ba94134cf6158090 (diff)
downloadlinux-e4bd84c069f212c01258e405f86e91f327888e41.tar.xz
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 'mm/mremap.c')
0 files changed, 0 insertions, 0 deletions