Re: [PATCH v13 04/10] mm: split a folio in minimum folio order chunks
From: Sven Schnelle
Date: Fri Aug 30 2024 - 01:57:55 EST
Luis Chamberlain <mcgrof@xxxxxxxxxx> writes:
> On Thu, Aug 29, 2024 at 06:12:26PM -0400, Zi Yan wrote:
>> The issue is that the change to split_huge_page() makes split_huge_page_to_list_to_order()
>> unlocks the wrong subpage. split_huge_page() used to pass the “page” pointer
>> to split_huge_page_to_list_to_order(), which keeps that “page” still locked.
>> But this patch changes the “page” passed into split_huge_page_to_list_to_order()
>> always to the head page.
>>
>> This fixes the crash on my x86 VM, but it can be improved:
It also fixes the issue on s390x. Thanks!