Re: [PATCH v3 18/35] mm: create new codetag references during page splitting

From: Suren Baghdasaryan
Date: Fri Feb 16 2024 - 11:47:13 EST


On Fri, Feb 16, 2024 at 6:33 AM Vlastimil Babka <vbabka@xxxxxxx> wrote:
>
> On 2/12/24 22:39, Suren Baghdasaryan wrote:
> > When a high-order page is split into smaller ones, each newly split
> > page should get its codetag. The original codetag is reused for these
> > pages but it's recorded as 0-byte allocation because original codetag
> > already accounts for the original high-order allocated page.
>
> Wouldn't it be possible to adjust the original's accounted size and
> redistribute to the split pages for more accuracy?

I can't recall why I didn't do it that way but I'll try to change and
see if something non-obvious comes up. Thanks!

>