From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 27F2C3DCD94 for ; Mon, 23 Mar 2026 20:07:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774296449; cv=none; b=EGskJ4Fx/nvUD1aFFUXCkcYl6T2IEff/GSyDqPyWZWDB+bjJIRktXgmAiwXOjztk7YYO4z1o68ISYzRhHbqn/KRVu3ncNAiBIWdi2fGbnO4RWjR9mIdWHzokqB54CzmI6dfxGQjFAxMF3kVzBrCq45FMopYh+A0PGi4IIMc3/FI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774296449; c=relaxed/simple; bh=pebgvyJygqJc2tvr3ATMrxFautwBj4pcxtVT7eFEhBI=; h=Date:To:From:Subject:Message-Id; b=L8ZnVKiDrca4ML6bzAR4+BFVbGbHAWYKYdVyJIwfidJq+ERg2TRgRSYc0HUaZAt2Yqn7mQ39unzG8nK7KnY38VoiQ0VyHfdWh7RKvfztz5FYFS6eXeY2ytEWsSN7/tBXTAJUb3/RTJLmktKJPUsfEpOiPVA7tbau6J/5vCh80xE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=k9QNss1E; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="k9QNss1E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A84D0C4CEF7; Mon, 23 Mar 2026 20:07:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1774296448; bh=pebgvyJygqJc2tvr3ATMrxFautwBj4pcxtVT7eFEhBI=; h=Date:To:From:Subject:From; b=k9QNss1EcufDqKGLX/oKbSUqpNsvwHstkWTgRAC6Omt5ZzXEU9FEOXWjm8WXMGkXT 4VAr75+6qPN7jasbhONXI6yHJnIS42YSzyidgYiC7Bx7hAzJvrX2jwFsCdyGtS5bbq icjyKbCwsUcaeoogg8EjN6Qi/kUiIHKh8UfoBuMI= Date: Mon, 23 Mar 2026 13:07:28 -0700 To: mm-commits@vger.kernel.org,yuanchu@google.com,weixugc@google.com,surenb@google.com,sidhartha.kumar@oracle.com,rppt@kernel.org,osalvador@suse.de,mhocko@suse.com,ljs@kernel.org,liam.howlett@oracle.com,axelrasmussen@google.com,david@kernel.org,akpm@linux-foundation.org From: Andrew Morton Subject: + mm-sparse-move-sparse_init_one_section-to-internalh-fix.patch added to mm-unstable branch Message-Id: <20260323200728.A84D0C4CEF7@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The patch titled Subject: mm-sparse-move-sparse_init_one_section-to-internalh-fix has been added to the -mm mm-unstable branch. Its filename is mm-sparse-move-sparse_init_one_section-to-internalh-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-sparse-move-sparse_init_one_section-to-internalh-fix.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via various branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there most days ------------------------------------------------------ From: "David Hildenbrand (Arm)" Subject: mm-sparse-move-sparse_init_one_section-to-internalh-fix Date: Mon, 23 Mar 2026 09:48:21 +0100 s/VM_WARN_ON/VM_WARN_ON_ONCE/ Link: https://lkml.kernel.org/r/6b04c1a1-74e7-42e8-8523-a40802e5dacc@kernel.org Signed-off-by: David Hildenbrand (Arm) Cc: Axel Rasmussen Cc: Liam Howlett Cc: Lorenzo Stoakes (Oracle) Cc: Michal Hocko Cc: Mike Rapoport Cc: Oscar Salvador Cc: Sidhartha Kumar Cc: Suren Baghdasaryan Cc: Wei Xu Cc: Yuanchu Xie Signed-off-by: Andrew Morton --- mm/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/internal.h~mm-sparse-move-sparse_init_one_section-to-internalh-fix +++ a/mm/internal.h @@ -980,7 +980,7 @@ static inline void sparse_init_one_secti * from the page pointer to obtain the PFN. */ coded_mem_map = (unsigned long)(mem_map - section_nr_to_pfn(pnum)); - VM_WARN_ON(coded_mem_map & ~SECTION_MAP_MASK); + VM_WARN_ON_ONCE(coded_mem_map & ~SECTION_MAP_MASK); ms->section_mem_map &= ~SECTION_MAP_MASK; ms->section_mem_map |= coded_mem_map; _ Patches currently in -mm which might be from david@kernel.org are mm-centralizefix-comments-about-compound_mapcount-in-new-sync_with_folio_pmd_zap.patch mm-pagewalk-drop-fw_migration.patch mm-madvise-drop-range-checks-in-madvise_free_single_vma.patch mm-memory-remove-zap_details-parameter-from-zap_page_range_single.patch mm-memory-remove-zap_details-parameter-from-zap_page_range_single-fix.patch mm-memory-inline-unmap_mapping_range_vma-into-unmap_mapping_range_tree.patch mm-memory-simplify-calculation-in-unmap_mapping_range_tree.patch mm-oom_kill-use-mmu_notify_clear-in-__oom_reap_task_mm.patch mm-oom_kill-factor-out-zapping-of-vma-into-zap_vma_for_reaping.patch mm-memory-rename-unmap_single_vma-to-__zap_vma_range.patch mm-memory-move-adjusting-of-address-range-to-unmap_vmas.patch mm-memory-convert-details-even_cows-into-details-skip_cows.patch mm-memory-use-__zap_vma_range-in-zap_vma_for_reaping.patch mm-memory-inline-unmap_page_range-into-__zap_vma_range.patch mm-memory-inline-unmap_page_range-into-__zap_vma_range-fix.patch mm-rename-zap_vma_pages-to-zap_vma.patch mm-rename-zap_page_range_single_batched-to-zap_vma_range_batched.patch mm-rename-zap_page_range_single-to-zap_vma_range.patch mm-rename-zap_vma_ptes-to-zap_special_vma_range.patch mm-memory-support-vm_mixedmap-in-zap_special_vma_range.patch kasan-docs-slub-is-the-only-remaining-slab-implementation.patch mm-move-vma_kernel_pagesize-from-hugetlb-to-mmh.patch mm-move-vma_mmu_pagesize-from-hugetlb-to-vmac.patch kvm-remove-hugetlbh-inclusion.patch kvm-ppc-remove-hugetlbh-inclusion.patch mm-memory_hotplug-remove-for_each_valid_pfn-usage.patch mm-sparse-remove-warn_ons-from-onlineoffline_mem_sections.patch mm-kconfig-make-config_memory_hotplug-depend-on-config_sparsemem_vmemmap.patch mm-memory_hotplug-simplify-check_pfn_span.patch mm-sparse-remove-config_sparsemem_vmemmap-leftovers-for-config_memory_hotplug.patch mm-bootmem_info-remove-handling-for-config_sparsemem_vmemmap.patch mm-bootmem_info-avoid-using-sparse_decode_mem_map.patch mm-sparse-remove-sparse_decode_mem_map.patch mm-sparse-remove-config_memory_hotplug-specific-usemap-allocation-handling.patch mm-prepare-to-move-subsection_map_init-to-mm-sparse-vmemmapc.patch mm-sparse-drop-set_section_nid-from-sparse_add_section.patch mm-sparse-move-sparse_init_one_section-to-internalh.patch mm-sparse-move-sparse_init_one_section-to-internalh-fix.patch mm-sparse-move-__section_mark_present-to-internalh.patch mm-sparse-move-memory-hotplug-bits-to-sparse-vmemmapc.patch mm-remove-config_arch_enable_memory_hotremove.patch mm-introduce-config_numa_migration-and-simplify-config_migration.patch