Re: [PATCH] mm/gup: don't check page lru flag before draining it

From: Matthew Wilcox
Date: Sat Jun 08 2024 - 11:15:29 EST


On Sat, Jun 08, 2024 at 12:38:49PM +0800, yangge1116 wrote:
> Can we add a PG_lru_batch flag to determine whether a page is in lru batch?
> If we can, seems this problem will be easier.

Page flags are in short supply. You'd need a really good justification.