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

From: Vlastimil Babka
Date: Fri Feb 16 2024 - 09:33:47 EST


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?