aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLiam R. Howlett <[email protected]>2023-01-20 11:26:29 -0500
committerAndrew Morton <[email protected]>2023-02-09 16:51:35 -0800
commit07f1bc5ad7983356ca79c65b22148dc5700a24e5 (patch)
tree810d805633e1c6275f5ae6e096082169cd655b96 /include/linux
parent47d9644de92c1aa9dcd791203397b161c67096ca (diff)
nommu: pass through vma iterator to shrink_vma()
Rename the function to vmi_shrink_vma() indicate it takes the vma iterator. Use the iterator to preallocate and drop the delete function. The maple tree is able to do the modification easier than the linked list and rbtree, so just clear the necessary area in the tree. add_vma_to_mm() is no longer used, so drop this function. vmi_add_vma_to_mm() is now only used once, so inline this function into do_mmap(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Liam R. Howlett <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions