diff options
author | Christoph Hellwig | 2023-01-21 08:10:49 +0100 |
---|---|---|
committer | Andrew Morton | 2023-02-02 22:33:32 -0800 |
commit | 17d3ef432dcbe80c134f1f79e2ed1ebd1076eab1 (patch) | |
tree | dba0c798dcc2fa4edf2acfaf5a932daee4445ef0 /mm/ksm.c | |
parent | 75c59ce74e47d3e11aa7666f1877aa64495f7b03 (diff) |
mm: move debug checks from __vunmap to remove_vm_area
All these checks apply to the free_vm_area interface as well, so move them
to the common routine.
Link: https://lkml.kernel.org/r/20230121071051.1143058-9-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/ksm.c')
0 files changed, 0 insertions, 0 deletions