Re: [PATCH v3 3/3] mm,page_owner: Fix accounting of pages when migrating
From: Vlastimil Babka
Date: Tue Apr 02 2024 - 08:41:38 EST
On 4/2/24 1:22 PM, Oscar Salvador wrote:
> On Tue, Apr 02, 2024 at 12:26:51PM +0200, Vlastimil Babka wrote:
>> Can the migration still fail after __folio_copy_owner()? That goes again to
>> the comment you changed in patch 1/3. If it can, this will kinda create a
>> mess with the old folio's handles not reflecting reality? (although
>> refcounts will be ok)
>
> According to my research (I replied in patch#1), no, migration cannot
> fail after __folio_copy_owner(), so we are safe here (Tm).
OK then,
Reviewed-by: Vlastimil Babka <vbabka@xxxxxxx>