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

Hugh Dickins
2023-04-16T19:52:00Z

> 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