diff options
| author | Liam R. Howlett <[email protected]> | 2023-01-20 16:26:39 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-10 00:51:36 +0000 |
| commit | 6b73cff239e52fd43949c40eaabb369298c11aae (patch) | |
| tree | e76702033affec12443462fd11875459af194b32 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | mmap: clean up mmap_region() unrolling (diff) | |
| download | kernel-6b73cff239e52fd43949c40eaabb369298c11aae.tar.gz kernel-6b73cff239e52fd43949c40eaabb369298c11aae.zip | |
mm: change munmap splitting order and move_vma()
Splitting can be more efficient when the order is not of concern. Change
do_vmi_align_munmap() to reduce walking of the tree during split
operations.
move_vma() must also be altered to remove the dependency of keeping the
original VMA as the active part of the split. Transition to using vma
iterator to look up the prev and/or next vma after munmap.
[[email protected]: fix vma iterator initialization]
Link: https://lkml.kernel.org/r/[email protected]
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 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
