]> 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, 24 Apr 2023 15:40:44 +0000 (11:40 -0400)
commit6d3c0180142390127205f14ce3fb1b2b299f35fe
tree5d5828083ec2dc00249455240b058715df2ae2ed
parent206f3a44c4f86107d6aa9bee5a1e8e23c806f97c
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