On Tue, Aug 13, 2024 at 3:08 PM Suren Baghdasaryan surenb@google.com 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@soleen.com