Re: [PATCH mm-new v8 4/4] mm: khugepaged: skip lazy-free folios

From: Andrew Morton

Date: Mon Mar 16 2026 - 15:42:05 EST


On Thu, 26 Feb 2026 15:55:45 +0800 Vernon Yang <vernon2gm@xxxxxxxxx> wrote:

> Hi Andrew, could you please squash the following fix into this patch?

yup.

> also remove "if" in the changelog above.

So you want it like this?

: All folios in VM_DROPPABLE are lazyfree, Collapsing maintains that
: property, so we can just collapse and memory pressure in the future will
: free it up. In contrast, collapsing in !VM_DROPPABLE does not maintain
: that property, the collapsed folio will not be lazyfree and memory
: pressure in the future will not be able to free it up.