Hi, This patch series aims to do some code cleanups related to mm. This series is based on next-20210827. Comments and suggestions are welcome. Thanks, Qi. Changelog in v2 -> v3: - Move the declaration of pmd_install() to mm/internal.h Changelog in v1 -> v2: - Fix some typo and code style problems. Qi Zheng (2): mm: introduce pmd_install() helper mm: remove redundant smp_wmb() mm/filemap.c | 11 ++----- mm/internal.h | 1 + mm/memory.c | 86 ++++++++++++++++++++++++----------------------------- mm/sparse-vmemmap.c | 2 +- 4 files changed, 43 insertions(+), 57 deletions(-) -- 2.11.0