[PATCH v2 0/2] mm: remove three unused helpers from mm.h
From: Tal Zussman
Date: Tue Sep 01 2026 - 15:38:58 EST
I happened to notice these were unused. Two of them are relatively
recently unused, and one has been unused for a few years. Remove them.
---
Changes in v2:
- Apply tags (thanks Lorenzo & Mike!)
- Drop totalram_pages_inc() tools/include/linux/mm.h too, per Lorenzo.
- Link to v1: https://patch.msgid.link/20260901-mm-remove-unused-helpers-v1-0-f092d086f7dc@xxxxxxxxxxxx
---
Tal Zussman (2):
mm: remove unused mark_page_reserved()
mm: remove unused totalram_pages_inc() and totalram_pages_dec()
include/linux/mm.h | 16 ----------------
tools/include/linux/mm.h | 4 ----
2 files changed, 20 deletions(-)
---
base-commit: ead700ca770c82167af32622cf8b68c9f87c3c7c
change-id: 20260901-mm-remove-unused-helpers-33056049864c
Best regards,
--
Tal Zussman <tz2294@xxxxxxxxxxxx>