]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Update validate_mm() to use vma iterator
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 1 Dec 2022 16:53:06 +0000 (11:53 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 13 Feb 2023 13:42:04 +0000 (08:42 -0500)
commit44574f387a2ee6e3cf5c87bea010116956d28f69
tree920706d204b2a0fc72904fc0d265b4192b2fcfd8
parent8e040c1598228d456f788cc063705ea40b7dfdb6
mm: Update validate_mm() to use vma iterator

Use the vma iterator in the validation code and combine the code to
check the maple tree into the main validate_mm() function.

Introduce a new function vma_iter_dump_tree() to dump the maple tree in
hex layout.

Replace all calls to validate_mm_mt() with validate_mm().

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
include/linux/mmdebug.h
mm/debug.c
mm/internal.h
mm/mmap.c