Re: [PATCH] mm/gup: fix always draining LRU caches in collect_longterm_unpinnable_folios()

From: Andrew Morton

Date: Sat Aug 01 2026 - 15:20:54 EST


On Sat, 1 Aug 2026 11:49:39 -0700 (PDT) Hugh Dickins <hughd@xxxxxxxxxx> wrote:

> > Found by code inspection. If someone has a testcase that can easily
> > trigger this and result in migration problems, please test! But this
> > change seems to be "obvious the right thing to do".
>
> Sorry, I don't (as perhaps is too obvious). And I'm a wee bit afraid
> that some of the problems which those changes happened to succeed in
> fixing, might now reappear once the drains are finely targeted.
>
> Am I arguing for a delay before advancing to stable? Perhaps, but
> I think not: it's probably best to get that working as intended,
> then deal with any fallout if it arises: just be on guard.

This patch is in mm-new, so it's still some months away from -stable
eligibility.