Re: [PATCH 2/3] mm/migrate: fix stale list name in migrate_folios_move() comment

From: David Hildenbrand (Arm)

Date: Fri Jun 26 2026 - 12:30:08 EST


On 6/26/26 11:37, Shivank Garg wrote:
> The return-value description in migrate_folios_move() still refers to
> unmap_folios, but that list no longer exists. Update this name to
> src_folios.
>
> Signed-off-by: Shivank Garg <shivankg@xxxxxxx>
> ---
> mm/migrate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/migrate.c b/mm/migrate.c
> index dd7dbd8d84a0..84b4c24f9dac 100644
> --- a/mm/migrate.c
> +++ b/mm/migrate.c
> @@ -1738,7 +1738,7 @@ static void migrate_folios_move(struct list_head *src_folios,
> /*
> * The rules are:
> * 0: folio will be freed
> - * -EAGAIN: stay on the unmap_folios list
> + * -EAGAIN: stay on the src_folios list
> * Other errno: put on ret_folios list
> */
> switch (rc) {
>

Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>

--
Cheers,

David