[PATCH 0/3] mm: cleanup clear_not_present_full_ptes()
"David Hildenbrand (Arm)" <[email protected]> Thu, 11 Jun 2026 13:50:46 +0200
| Newsgroups | org.kernel.vger.sparclinux,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <20260611-clear_not_present_full_ptes-v1-0-49865fc82629@kernel.org> |
While doing some review, I stumbled over clear_not_present_full_ptes() and concluded that it needs some love. Let's remove pte_clear_not_present_full() and cleanup clear_not_present_full_ptes(), renaming it to clear_non_present_ptes(). Heavily build-tested, runtime tested only on x86-64. Signed-off-by: David Hildenbrand (Arm) <[email protected]> --- David Hildenbrand (Arm) (3): sparc/mm: drop custom pte_clear_not_present_full() mm: drop pte_clear_not_present_full() mm: cleanup clear_not_present_full_ptes() and rename to clear_non_present_ptes() arch/sparc/include/asm/pgtable_64.h | 4 ---- include/linux/pgtable.h | 31 +++++-------------------------- mm/madvise.c | 6 +++--- mm/memory.c | 2 +- 4 files changed, 9 insertions(+), 34 deletions(-) --- base-commit: be18cf77e1e749c6469ff44df00eb026f7c0a365 change-id: 20260610-clear_not_present_full_ptes-df3258baf7ed -- Cheers, David