diff options
| author | Liam R. Howlett <[email protected]> | 2023-01-20 16:26:46 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-02-10 00:51:38 +0000 |
| commit | cf51e86dfbe39b7cae3a9de650d035af22dd5fb4 (patch) | |
| tree | 9d21cd52be3e64b5cada32f2001368af48c9039a /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | mm/mremap: convert vma_adjust() to vma_expand() (diff) | |
| download | kernel-cf51e86dfbe39b7cae3a9de650d035af22dd5fb4.tar.gz kernel-cf51e86dfbe39b7cae3a9de650d035af22dd5fb4.zip | |
mm/mmap: don't use __vma_adjust() in shift_arg_pages()
Introduce shrink_vma() which uses the vma_prepare() and vma_complete()
functions to reduce the vma coverage.
Convert shift_arg_pages() to use expand_vma() and the new shrink_vma()
function. Remove support from __vma_adjust() to reduce a vma size since
shift_arg_pages() is the only user that shrinks a VMA in this way.
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
