[v2,-next,0/3] Minor cleanup in PAT

Message ID 20230307022606.2367399-1-mawupeng1@huawei.com
Headers
Series Minor cleanup in PAT |

Message

mawupeng March 7, 2023, 2:26 a.m. UTC
  From: Ma Wupeng <mawupeng1@huawei.com>

Patch #1 move follow_phys to memtype.c since only pat use this.
Patch #2 cleanup parameter flags in follow_phys.
Patch #3 drop the unnecessary WARN_ON_ONCE if follow_phys fails.

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 | 33 +++++++++++++++++++++++++++------
 include/linux/mm.h        |  2 --
 mm/memory.c               | 28 ----------------------------
 3 files changed, 27 insertions(+), 36 deletions(-)
  

Comments

mawupeng March 20, 2023, 2:53 a.m. UTC | #1
Hi, maintainers, kindly ping...

Thanks.
Ma.