The rest of MM and a kernel-wide procfs cleanup. Summary of the more significant patches: Patch series "mm/memory_hotplug: Factor out memory block devicehandling", v3. David Hildenbrand. Some spring-cleaning of the memory hotplug code, notably in drivers/base/memory.c "mm: thp: fix false negative of shmem vma's THP eligibility". Yang Shi. Fix /proc/pid/smaps output for THP pages used in shmem. "resource: fix locking in find_next_iomem_res()" + 1. Nadav Amit. Bugfix and speedup for kernel/resource.c Patch series "mm: Further memory block device cleanups", David Hildenbrand. More spring-cleaning of the memory hotplug code. Patch series "mm: Sub-section memory hotplug support". Dan Williams. Generalise the memory hotplug code so that pmem can use it more completely. Then remove the hacks from the libnvdimm code which were there to work around the memory-hotplug code's constraints. "proc/sysctl: add shared variables for range check", Matteo Croce. We have about 250 instances of int zero; ... .extra1 = &zero, in the tree. This is a tree-wide sweep to make all those private "zero"s and "one"s use global variables. Alas, it isn't practical to make those two global integers const. 38 patches, based on 2ae048e16636afd7521270acacb08d9c42fd23f0: Subsystems affected by this patch series: mm:memory-hotplug mm:thp resource mm:memory-hotplug mm:sparsemem mm:migration proc Subsystem: mm:memory-hotplug David Hildenbrand <david@xxxxxxxxxx>: Patch series "mm/memory_hotplug: Factor out memory block devicehandling", v3: mm/memory_hotplug: simplify and fix check_hotplug_memory_range() s390x/mm: fail when an altmap is used for arch_add_memory() s390x/mm: implement arch_remove_memory() arm64/mm: add temporary arch_remove_memory() implementation drivers/base/memory: pass a block_id to init_memory_block() mm/memory_hotplug: allow arch_remove_memory() without CONFIG_MEMORY_HOTREMOVE mm/memory_hotplug: create memory block devices after arch_add_memory() mm/memory_hotplug: drop MHP_MEMBLOCK_API mm/memory_hotplug: remove memory block devices before arch_remove_memory() mm/memory_hotplug: make unregister_memory_block_under_nodes() never fail mm/memory_hotplug: remove "zone" parameter from sparse_remove_one_section Wei Yang <richardw.yang@xxxxxxxxxxxxxxx>: mm/sparse.c: set section nid for hot-add memory Subsystem: mm:thp Yang Shi <yang.shi@xxxxxxxxxxxxxxxxx>: mm: thp: make transhuge_vma_suitable available for anonymous THP mm: thp: fix false negative of shmem vma's THP eligibility Subsystem: resource Nadav Amit <namit@xxxxxxxxxx>: resource: fix locking in find_next_iomem_res() resource: avoid unnecessary lookups in find_next_iomem_res() Subsystem: mm:memory-hotplug David Hildenbrand <david@xxxxxxxxxx>: Patch series "mm: Further memory block device cleanups", v1: mm: section numbers use the type "unsigned long" drivers/base/memory: use "unsigned long" for block ids mm: make register_mem_sect_under_node() static mm/memory_hotplug: rename walk_memory_range() and pass start+size instead of pfns mm/memory_hotplug: move and simplify walk_memory_blocks() drivers/base/memory.c: get rid of find_memory_block_hinted() Dan Williams <dan.j.williams@xxxxxxxxx>: Patch series "mm: Sub-section memory hotplug support", v10: mm/sparsemem: introduce struct mem_section_usage mm/sparsemem: introduce a SECTION_IS_EARLY flag mm/sparsemem: add helpers track active portions of a section at boot mm/hotplug: prepare shrink_{zone, pgdat}_span for sub-section removal mm/sparsemem: convert kmalloc_section_memmap() to populate_section_memmap() mm/hotplug: kill is_dev_zone() usage in __remove_pages() mm: kill is_dev_zone() helper mm/sparsemem: prepare for sub-section ranges mm/sparsemem: support sub-section hotplug mm: document ZONE_DEVICE memory-model implications mm/devm_memremap_pages: enable sub-section remap libnvdimm/pfn: fix fsdax-mode namespace info-block zero-fields libnvdimm/pfn: stop padding pmem namespaces to section alignment Subsystem: mm:sparsemem Dan Williams <dan.j.williams@xxxxxxxxx>: mm/sparsemem: cleanup 'section number' data types Subsystem: mm:migration Keith Busch <keith.busch@xxxxxxxxx>: mm: migrate: remove unused mode argument Subsystem: proc Matteo Croce <mcroce@xxxxxxxxxx>: proc/sysctl: add shared variables for range check