Re: [PATCH] mm: rename reclaim_pages() to reclaim_folios()

From: Kefeng Wang
Date: Sun Apr 16 2023 - 21:51:17 EST




On 2023/4/16 0:04, Matthew Wilcox wrote:
On Sat, Apr 15, 2023 at 05:27:16PM +0800, Kefeng Wang wrote:
As commit a83f0551f496 ("mm/vmscan: convert reclaim_pages() to use
a folio") changes the arg from page_list to folio_list, but not
the defination, let's correct it and rename it to reclaim_folios too.

I didn't bother. It's not inaccurate; we're reclaiming the pages
in the folios.

OK, keep the name seems better, there is another similar issue in
reclaim_clean_pages_from_list(), I will only unify the arg between
definition and declaration.>