Skip to content

mm: improve folio refcount scalability

Gorbunov Ivan linux-mm lkml syzbot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 8 repliesIn review

Changes in v2 from the cover letter

- 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/[email protected]/
Gladyshev Ilya (1):
mm: implement page refcount locking via dedicated bit

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: drop page refcount zero state semanticsdrivers/pci/p2pdma.c include/linux/page_ref.h kernel/liveupdate/kexec_handover.c +3 more+25 -83 replies
2/2mm: implement page refcount locking via dedicated bitinclude/linux/page-flags.h include/linux/page_ref.h+37 -44 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLinus TorvaldsBjorn Helgaas
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]/
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(-)
Signature · 1 line
2.43.0