]> www.infradead.org Git - users/jedix/linux-maple.git/commit
damon: Convert __damon_va_three_regions to use the VMA iterator
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 Oct 2021 18:39:28 +0000 (14:39 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 16 Dec 2021 03:01:33 +0000 (22:01 -0500)
commit74e2f0b70ac1fd4a3f376431db83a8a23889255d
tree485c5d0ccf1ea86b96babb4c9098bb9ab4e0d415
parentfe695ae63015a15385f2c620493b84b815ca12b9
damon: Convert __damon_va_three_regions to use the VMA iterator

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.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/damon/vaddr.c