[PATCH v3 0/3] Cleanup for PAT
From: Wupeng Ma
Date: Thu Jan 11 2024 - 07:10:37 EST
From: Ma Wupeng <mawupeng1@xxxxxxxxxx>
Patch #1 move follow_phys to memtype.c since only pat use this.
Patch #2 cleanup parameter in follow_phys.
Patch #3 drop the unnecessary WARN_ON_ONCE if follow_phys fails.
Changelog since v2:
- rebase to latest linux
Changelog since v1:
- split patch #1 into two patches based on Boris's advise
Ma Wupeng (3):
x86/mm/pat: Move follow_phys to pat-related file
x86/mm/pat: Cleanup unused parameter in follow_phys
x86/mm/pat: Remove WARN_ON_ONCE if follow_phys fails
arch/x86/mm/pat/memtype.c | 34 ++++++++++++++++++++++++++++------
include/linux/mm.h | 2 --
mm/memory.c | 28 ----------------------------
3 files changed, 28 insertions(+), 36 deletions(-)
--
2.25.1