mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm: remove unused vmstat and folio refcount helpers
@ 2026-11-11  3:34 Shivank Garg
  2026-11-11  3:34 ` [PATCH v2 1/2] mm/vmstat: remove unused folio stat helpers Shivank Garg
  2026-11-11  3:34 ` [PATCH v2 2/2] mm: remove unused folio refcount helpers Shivank Garg
  0 siblings, 2 replies; 5+ messages in thread
From: Shivank Garg @ 2026-11-11  3:34 UTC (permalink / raw)
  To: David Hildenbrand, Lorenzo Stoakes, Liam R. Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Matthew Wilcox
  Cc: linux-mm, linux-kernel, Shivank Garg

This series removes ten static inline helpers from
include/linux/vmstat.h and include/linux/page_ref.h that have no users
left anywhere in the tree.

I found them with the kunused scripts [1], which I wrote with LLM's help.
The v1 cover letter [2] has more details on the scripts and how LLM was
used.

Changes in v2:
- Split v1 [2] up by MM tree, as David suggested. These two patches are
  rebased on mm/core.git/for-next. Remaining patches will be sent
  separately.
- No changes to the patches themselves.

[1] https://github.com/AMDESE/linux-mm/tree/shivank/kunused
[2] https://lore.kernel.org/r/20261026-unused-sym-v1-0-82ca2dceabe1@amd.com

Signed-off-by: Shivank Garg <shivankg@amd.com>
---
Shivank Garg (2):
      mm/vmstat: remove unused folio stat helpers
      mm: remove unused folio refcount helpers

 include/linux/page_ref.h | 24 ------------------------
 include/linux/vmstat.h   | 36 ------------------------------------
 2 files changed, 60 deletions(-)
---
base-commit: 94c0b03721e5a7187b7a017a18f58a50cee4f29e
change-id: 20261109-unused-sym-core-08c79d42936b

Best regards,
-- 
Shivank Garg <shivankg@amd.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-11  8:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-11  3:34 [PATCH v2 0/2] mm: remove unused vmstat and folio refcount helpers Shivank Garg
2026-11-11  3:34 ` [PATCH v2 1/2] mm/vmstat: remove unused folio stat helpers Shivank Garg
2026-11-11  8:01   ` David Hildenbrand (Arm)
2026-11-11  3:34 ` [PATCH v2 2/2] mm: remove unused folio refcount helpers Shivank Garg
2026-11-11  8:01   ` David Hildenbrand (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®