On Mon, 02 May 2022 18:39:17 +0200, Martin Pieuchot wrote: > Let's simplify the existing logic and use a single list for inactive > pages. uvmpd_scan_inactive() already does a lot of check if it finds > a page which is swap-backed. This will be improved in a next change.
That looks fine to me. Calling uvmpd_scan_inactive() a single time (instead of up to three times!) seems like a win. - todd