Re: [PATCH v3 6/7] mm: truncate: split huge page cache page to a non-zero order if possible.

From: Hugh Dickins
Date: Sun Apr 16 2023 - 15:52:04 EST


> As this code stands, truncate a 2M huge page at 1M and you get two 1M
> pieces (one then discarded) - nice; but truncate it at 1M+1 and you get
> lots of order 2 (forced up from 1) pieces. Seems weird, and not worth
> the effort.

I've probably said that wrong: truncate at 1M+1 and you'd get lots of
order 0 pieces.

Hugh