[PATCH v10 15/69] damon: convert __damon_va_three_regions to use the VMA iterator

David Hildenbrand david at redhat.com
Thu Jun 23 11:47:23 PDT 2022

On 21.06.22 22:46, Liam Howlett wrote:
> From: "Liam R. Howlett" <Liam.Howlett at Oracle.com>
> This rather specialised walk can use the VMA iterator.  If this proves to
> be too slow, we can write a custom routine to find the two largest gaps,
> but it will be somewhat complicated, so let's see if we need it first.
> Update the kunit test case to use the maple tree.  This also fixes an
> issue with the kunit testcase not adding the last VMA to the list.
> Link: https://lkml.kernel.org/r/20220504011215.661968-1-Liam.Howlett@oracle.com
> Fixes: 17ccae8bb5c9 (mm/damon: add kunit tests)
> Signed-off-by: Liam R. Howlett <Liam.Howlett at Oracle.com>
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>
> Reviewed-by: SeongJae Park <sj at kernel.org>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: David Howells <dhowells at redhat.com>
> Cc: Vlastimil Babka <vbabka at suse.cz>
> Cc: Will Deacon <will at kernel.org>
> Cc: Davidlohr Bueso <dave at stgolabs.net>
> Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
> ---

Nothing jumped at me

Reviewed-by: David Hildenbrand <david at redhat.com>


David / dhildenb

More information about the maple-tree mailing list