[GIT PULL] remaining MM updates for 5.20-r1

From: Andrew Morton
Date: Tue Aug 09 2022 - 21:18:05 EST



Three patch series - two that perform cleanups and one feature.


The following changes since commit c8a684e2e110376c58f0bfa30fb3855d1e319670:

Merge tag 'leds-5.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/pavel/linux-leds (2022-08-08 11:36:21 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm tags/mm-stable-2022-08-09

for you to fetch changes up to a9e9c93966afdaae74a6a7533552391646b93f2c:

Documentation/mm: add details about kmap_local_page() and preemption (2022-08-08 18:06:46 -0700)

----------------------------------------------------------------
- hugetlb_vmemmap cleanups from Muchun Song

- hardware poisoning support for 1GB hugepages, from Naoya Horiguchi

- highmem documentation fixups from Fabio De Francesco

----------------------------------------------------------------
Fabio M. De Francesco (7):
highmem: remove unneeded spaces in kmap_local_page() kdocs
highmem: specify that kmap_local_page() is callable from interrupts
Documentation/mm: don't kmap*() pages which can't come from HIGHMEM
Documentation/mm: avoid invalid use of addresses from kmap_local_page()
Documentation/mm: rrefer kmap_local_page() and avoid kmap()
highmem: delete a sentence from kmap_local_page() kdocs
Documentation/mm: add details about kmap_local_page() and preemption

Muchun Song (8):
mm: hugetlb_vmemmap: delete hugetlb_optimize_vmemmap_enabled()
mm: hugetlb_vmemmap: optimize vmemmap_optimize_mode handling
mm: hugetlb_vmemmap: introduce the name HVO
mm: hugetlb_vmemmap: move vmemmap code related to HugeTLB to hugetlb_vmemmap.c
mm: hugetlb_vmemmap: replace early_param() with core_param()
mm: hugetlb_vmemmap: improve hugetlb_vmemmap code readability
mm: hugetlb_vmemmap: move code comments to vmemmap_dedup.rst
mm: hugetlb_vmemmap: use PTRS_PER_PTE instead of PMD_SIZE / PAGE_SIZE

Naoya Horiguchi (8):
mm/hugetlb: check gigantic_page_runtime_supported() in return_unused_surplus_pages()
mm/hugetlb: make pud_huge() and follow_huge_pud() aware of non-present pud entry
mm, hwpoison, hugetlb: support saving mechanism of raw error pages
mm, hwpoison: make unpoison aware of raw error info in hwpoisoned hugepage
mm, hwpoison: set PG_hwpoison for busy hugetlb pages
mm, hwpoison: make __page_handle_poison returns int
mm, hwpoison: skip raw hwpoison page in freeing 1GB hugepage
mm, hwpoison: enable memory error handling on 1GB hugepage

Documentation/admin-guide/kernel-parameters.txt | 7 +-
Documentation/admin-guide/mm/hugetlbpage.rst | 4 +-
Documentation/admin-guide/mm/memory-hotplug.rst | 4 +-
Documentation/admin-guide/sysctl/vm.rst | 3 +-
Documentation/mm/highmem.rst | 31 +-
Documentation/mm/vmemmap_dedup.rst | 72 ++-
arch/arm64/mm/flush.c | 13 +-
arch/x86/mm/hugetlbpage.c | 8 +-
fs/Kconfig | 12 +-
include/linux/highmem.h | 7 +-
include/linux/hugetlb.h | 24 +-
include/linux/mm.h | 9 +-
include/linux/page-flags.h | 32 +-
include/linux/swapops.h | 9 +
include/linux/sysctl.h | 4 +
include/ras/ras_event.h | 1 -
mm/hugetlb.c | 73 ++-
mm/hugetlb_vmemmap.c | 589 ++++++++++++++++++------
mm/hugetlb_vmemmap.h | 45 +-
mm/memory-failure.c | 179 +++++--
mm/sparse-vmemmap.c | 399 ----------------
21 files changed, 823 insertions(+), 702 deletions(-)