Re: [PATCH mm-unstable v5 01/10] mm: add folio dtor and order setter functions

From: John Hubbard
Date: Wed Dec 07 2022 - 21:31:40 EST


On 12/7/22 18:19, Muchun Song wrote:
How about adding a new helper like "folio_dissolve_compound(struct folio *folio)"?
then it may be unnecessary to add a comment.


Yes, and in fact, I just finished spelling out exactly how to do that, in [1].


[1] https://lore.kernel.org/all/d17530ad-8e12-8069-d619-a2d72fe80e15@xxxxxxxxxx/


thanks,
--
John Hubbard
NVIDIA