]> 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>
Tue, 13 Dec 2022 21:22:37 +0000 (16:22 -0500)
commit6e6c2bb445bc750299cf56daa7f0d3f146f48ce7
tree530c5f10a43c599a78fe6508b3f6497be7c719d6
parent422c8b25c585509762b3e186340a87ceea4bdd1f
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/mmap.c