[PATCH v8 16/70] damon: Convert __damon_va_three_regions to use the VMA iterator

SeongJae Park sj at kernel.org
Tue May 3 16:40:57 PDT 2022


Hi Liam,


Could you please add I and damon at lists.linux.dev to the recipients of this
patch from next time?

On Tue, 26 Apr 2022 15:06:32 +0000 Liam Howlett <liam.howlett at oracle.com> 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.
> 
> 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>


Thanks,
SJ

[...]



More information about the maple-tree mailing list