diff options
| author | Christoph Hellwig <hch@lst.de> | 2023-01-21 08:10:47 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:33:31 -0800 |
| commit | 39e65b7f63392d70f2f6aff5f4c5c3262f49637e (patch) | |
| tree | 46e893e7acb932c57081335abe3af9a779b64c37 /mm/init-mm.c | |
| parent | 5d3d31d6fb17a8eb83af50ea8a0616a3cfde3e58 (diff) | |
| download | linux-39e65b7f63392d70f2f6aff5f4c5c3262f49637e.tar.gz | |
mm: move __remove_vm_area out of va_remove_mappings
__remove_vm_area is the only part of va_remove_mappings that requires a
vmap_area. Move the call out to the caller and only pass the vm_struct to
va_remove_mappings.
Link: https://lkml.kernel.org/r/20230121071051.1143058-7-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions
