Re: [PATCH 2/6] mm: remove PageReclaim

Tal Zussman <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.kernel.mm
Message-ID <[email protected]>
On 8/7/26 2:48 PM, Matthew Wilcox wrote:
> On Thu, Aug 06, 2026 at 06:55:34PM -0400, Tal Zussman wrote:
>> This flag is now only used on folios, so we can remove all the page
>> accessors.
> 
> And we don't use folio_test_clear_reclaim() at all (it's mentioned in
> a comment, but that's it), so we can drop that line entirely.
> 

Aha, I missed that - even better.

>> -PAGEFLAG(Reclaim, reclaim, PF_NO_TAIL)
>> -	TESTCLEARFLAG(Reclaim, reclaim, PF_NO_TAIL)
>> +FOLIO_FLAG(reclaim, FOLIO_HEAD_PAGE)
>> +	FOLIO_TEST_CLEAR_FLAG(reclaim, FOLIO_HEAD_PAGE)
> 
> With that last line removed,
> 
> Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
> 

Thanks!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.