[PATCH v3 0/3] page_owner: Fix refcount imbalance

From: Oscar Salvador
Date: Tue Mar 26 2024 - 02:29:25 EST


This series consists of a refactoring/correctness of updating the metadata
of tail pages and a couple of fixups for the refcounting part.

>From this series on, instead of counting the stacks, we count the outstanding
nr_base_pages each stack has, which gives us a much better memory overview.
The other fixup is for the migration part.

A more detailed explanation can be found in the changelog of the respective
patches.

Oscar Salvador (3):
mm,page_owner: Update metada for tail pages
mm,page_owner: Fix refcount imbalance
mm,page_owner: Fix accounting of pages when migrating

Documentation/mm/page_owner.rst | 73 +++++++------
mm/page_owner.c | 184 +++++++++++++++++++-------------
2 files changed, 146 insertions(+), 111 deletions(-)

--
2.44.0