From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FDB3466B10 for ; Thu, 13 Aug 2026 11:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786619214; cv=none; b=hal8HR0nEm0zezVTOTUgDVHg555SZvQ4pKr74JDoMAFbSajAtDfd6Mjydcm14EB4z6OxBlVa9c6bWVTUulXOJ9yEVss4KSF1xH7IsrX1DnhqSLkRLUfqz62BGAnU4t63F/j5cQDiexDnYHWezOGc1ZFw8k4pFy1xq1IIBqch3tg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786619214; c=relaxed/simple; bh=TG75a/3p7JRktO7mvC7+ftX26KYTxKO//rzDN70icIw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OhUBW2YEMRRtdn1Z8uKzpxSC6u8eKgh8aeS3lOTgNHd2fGqNsKQmGGnN8+4v47KfcFyd6oSLIpyLKYxvrTDquy+7Nt5j+JBE7esqPxBQ2dXUAIPIeccFgkkeYP1g+1Mjdy+0OGfXo0ahdgzhILV+ocWe8S30OFBHHNHv3VmV0t4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=V6eusabv; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="V6eusabv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 479C81F000E9; Thu, 13 Aug 2026 11:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786619208; bh=W2WE5+G5sDCD83p3y7rTlSpYQ/0YIWhOKGLGbZFH7Jg=; h=From:To:Cc:Subject:Date; b=V6eusabv8ZIAhH8MAj2WQAUS02gYzwcvx5jopw7/bWh6rRc+c1FgEiRr2KQYDKd35 J5q9S0YM2dVIVPQ31rboet3QNulhVbYL1XgYRfKQzfzUtuflgq02NmUa/Vld7Naw2V gyZP8Q0qIhZ1ob2Rd95PuRXL7yE8yrQ8maHfPp1AHWuqXX7BLFuO4WDZNiqknekDOe XiDiDumVdnBQxKuGSf6b4jjekK974fkhX214h3zO0nAdwM/94KhfJE4fxXuU/jChwi iXt/xhURB7PYldvHVw7EEiGBsonK7iT44SSnthN5cv49IScx8CTnQ48Yv+sPQw0t+Q ZEIK2YkZCnt/A== From: Mike Rapoport To: Linus Torvalds Cc: Mike Rapoport , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] memblock: updates for 7.3-rc1 Date: Thu, 13 Aug 2026 14:06:17 +0300 Message-ID: <20260813110636.2482716-1-rppt@kernel.org> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Linus, The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482: Linux 7.2-rc1 (2026-06-28 12:01:31 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/memblock-v7.3-rc1 for you to fetch changes up to b3c1ec1a9ad84ec2f14d343d28c6032feaec5b79: Merge branch 'misc' into for-next (2026-08-07 11:47:13 +0300) ---------------------------------------------------------------- memblock: updates for 7.3-rc1 Non-urgent fixes: * Fix calculation of node_spanned_pages when running with kernelcore=mirror * Properly handle failure to allocate per_cpu_nodestats in free_area_init_core_hotplug() * Fix deferred initialization of the memory map for configurations where node's RAM end is not aligned on PAGES_PER_SECTION Cleanups: * Remove redundant pageblock_align() call in free_unused_memmap() * Remove unnecessary invalid range checks in users of memblock iterators. Some users of for_each_mem_range() and for_each_mem_pfn_range() verify that start < end for each range. This is redundant because memblock iterators guarantee to never return an invalid range * Stop overlapping zones with kernelcore=mirror and align behaviour of kernelcore=mirror with other variants of kernelcore=/movablecore= * Remove redundant updates of numa_nodes_parsed mask in the callers of numa_add_memblk(), the latter always updates the mask anyway * Remove unnecessary initialization of pgdat->per_cpu_nodestats to NULL, the variable is reset to the actual value a few lines below ---------------------------------------------------------------- Alexander Graf (1): mm/mm_init: deferred_grow_zone(): fix out-of-range first_deferred_pfn Gregory Price (1): mm/mm_init: handle alloc_percpu failure in free_area_init_core_hotplug Mike Rapoport (Microsoft) (10): Merge patch series "treewide: remove unnecessary invalid range checks in memblock iteration loops" mm/mm_init: don't overlap NORMAL and MOVABLE zones with kernelcore=mirror mm/mm_init: drop overlap_memmap_init() Merge patch series "mm/mm_init: don't overlap zones with kernelcore=mirror" Merge patch series "treewide, numa_memblks: remove redundant work during NUMA init" Merge branch 'fixes' into for-next Merge branch 'kernelcore-mirror' into for-next Merge branch 'numa_memblks-redundant-work' into for-next Merge branch 'range-checks' into for-next Merge branch 'misc' into for-next Sang-Heon Jeon (19): arm64: mm: remove unreachable invalid range check in kasan_init_shadow() LoongArch: remove unreachable invalid range check in kasan_init() riscv: remove unreachable invalid range check in create_linear_mapping_page_table() riscv: remove unreachable invalid range check in kasan_init() ARM: remove unreachable invalid range check in kasan_init() powerpc64/kasan: Remove unreachable invalid range check in kasan_init_phys_region() mm: remove unnecessary empty range check in early_calculate_totalpages() mm/hugetlb: remove unnecessary empty range check in hugetlb_bootmem_set_nodes() mm: numa_memblks: set numa_nodes_parsed in numa_add_memblk() ACPI: NUMA: remove redundant numa_nodes_parsed node_set() of/numa: remove redundant numa_nodes_parsed node_set() x86/numa: remove redundant numa_nodes_parsed node_set() arch_numa: remove redundant numa_nodes_parsed node_set() LoongArch: remove redundant numa_nodes_parsed node_set() mm: numa_memblks: remove redundant numa_nodemask_from_meminfo() arch_numa: remove redundant node_possible_map assignment mm: numa_memblks: use numa_add_reserved_memblk() in numa_cleanup_meminfo() mm/mm_init: remove redundant memset in free_area_init() mm/mm_init: remove unnecessary initialization of pgdat->per_cpu_nodestats Wei Yang (1): mm/mm_init: fix incorrect node_spanned_pages Zhen Ni (1): mm/memblock: Remove redundant pageblock_align() in free_unused_memmap() arch/arm/mm/kasan_init.c | 6 --- arch/arm64/mm/kasan_init.c | 3 -- arch/loongarch/kernel/numa.c | 1 - arch/loongarch/mm/kasan_init.c | 3 -- arch/powerpc/mm/kasan/init_book3e_64.c | 3 -- arch/powerpc/mm/kasan/init_book3s_64.c | 3 -- arch/riscv/mm/init.c | 2 - arch/riscv/mm/kasan_init.c | 3 -- arch/x86/mm/amdtopology.c | 1 - arch/x86/mm/numa.c | 1 - drivers/acpi/numa/srat.c | 2 - drivers/base/arch_numa.c | 4 -- drivers/of/of_numa.c | 5 +- include/linux/memory_hotplug.h | 2 +- mm/hugetlb.c | 7 +-- mm/memblock.c | 4 +- mm/memory_hotplug.c | 3 +- mm/mm_init.c | 93 +++++++++------------------------- mm/numa_memblks.c | 41 +++++++-------- 19 files changed, 49 insertions(+), 138 deletions(-)