[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YlGNvn3cu2TftNRN@casper.infradead.org>
Date: Sat, 9 Apr 2022 14:44:30 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Miaohe Lin <linmiaohe@...wei.com>
Cc: akpm@...ux-foundation.org, ying.huang@...el.com,
songmuchun@...edance.com, hch@...radead.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/9] mm/vmscan: introduce helper function
reclaim_page_list()
On Sat, Apr 09, 2022 at 05:34:54PM +0800, Miaohe Lin wrote:
> + nr_reclaimed = shrink_page_list(page_list, pgdat, &sc, &dummy_stat, false);
> + while (!list_empty(page_list)) {
> + folio = lru_to_folio(page_list);
> + list_del(&folio->lru);
> + putback_lru_page(&folio->page);
folio_putback_lru()
Powered by blists - more mailing lists