Re: [PATCH v3 1/2] alloc_tag: introduce clear_page_tag_ref() helper function
From: Pasha Tatashin
Date: Wed Aug 14 2024 - 14:43:12 EST
On Tue, Aug 13, 2024 at 3:08 PM Suren Baghdasaryan <surenb@xxxxxxxxxx> wrote:
>
> In several cases we are freeing pages which were not allocated using
> common page allocators. For such cases, in order to keep allocation
> accounting correct, we should clear the page tag to indicate that the
> page being freed is expected to not have a valid allocation tag.
> Introduce clear_page_tag_ref() helper function to be used for this.
Reviewed-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>