Re: [RFC PATCH 0/1] Buddy allocator like folio split

From: Kirill A. Shutemov
Date: Wed Oct 09 2024 - 05:56:47 EST


On Tue, Oct 08, 2024 at 06:37:47PM -0400, Zi Yan wrote:
> mm/huge_memory.c | 648 ++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 647 insertions(+), 1 deletion(-)

The idea is sane, but I think it would require a lot more ground work
before getting it upstream. I don't think we can afford two parallel split
implementations. folio_split() and split_huge_page*() should share the same
implementation internally. Otherwise it is going to be pain to maintain
them in-sync.

--
Kiryl Shutsemau / Kirill A. Shutemov