Re: [PATCH mm-unstable v1 3/3] mm/codetag: add pgalloc_tag_copy()
From: Andrew Morton
Date: Thu Sep 05 2024 - 19:25:30 EST
On Tue, 3 Sep 2024 15:36:49 -0600 Yu Zhao <yuzhao@xxxxxxxxxx> wrote:
> Add pgalloc_tag_copy() to transfer the codetag from the old folio to
> the new one during migration. This makes original allocation sites
> persist cross migration rather than lump into compaction_alloc, e.g.,
> # echo 1 >/proc/sys/vm/compact_memory
> # grep compaction_alloc /proc/allocinfo
>
> Before this patch:
> 132968448 32463 mm/compaction.c:1880 func:compaction_alloc
>
> After this patch:
> 0 0 mm/compaction.c:1880 func:compaction_alloc
>
I'm thinking that [2/3] should be backported?
And possibly this one, but for that we should identify a Fixes:, please.