Re: [PATCH v4 3/5] mm/vmscan: extract pageout_one() from shrink_folio_list()

From: Zhang Peng

Date: Sun Jun 28 2026 - 12:10:46 EST


On Wed, Jun 17, 2026 at 02:19:38PM +0200, David Hildenbrand wrote:
> Two tabs please.
> Same comment regarding returning a bool.
> Can both be const I assume.

On Wed, Jun 17, 2026 at 02:25:07PM +0200, David Hildenbrand wrote:
> Thinking again, should we call this "folio_try_pageout" or something
> like that (and keep the bool)?

Renamed to folio_try_pageout() — consistent with the other helpers.
Fixed alignment, added const to nr_pages and mapping, reflowed the
comments to use the wider columns.