[PATCH v2 0/2] mm: improve folio refcount scalability

From: Gorbunov Ivan

Date: Mon Apr 20 2026 - 04:02:29 EST


This is a v2 of the series that aims to improve refcount scalability via
dedicated bit. [1]

Changes since v1:
- Fixed frozen pages initialization
- Fixed page_ref_count behavior on frozen pages
- Added debug checks to ensure that some modification methods are
not called on frozen pages

[1] https://lore.kernel.org/all/20260228141941.f6fec687aae9d80a161387f4@xxxxxxxxxxxxxxxxxxxx/
Gladyshev Ilya (1):
mm: implement page refcount locking via dedicated bit

Gorbunov Ivan (1):
mm: drop page refcount zero state semantics

drivers/pci/p2pdma.c | 2 +-
include/linux/page-flags.h | 13 +++++++++
include/linux/page_ref.h | 43 +++++++++++++++++++++++++++---
kernel/liveupdate/kexec_handover.c | 2 +-
mm/hugetlb.c | 2 +-
mm/mm_init.c | 6 ++---
mm/page_alloc.c | 4 +--
7 files changed, 61 insertions(+), 11 deletions(-)

--
2.43.0