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 946BF14B800 for ; Thu, 22 Feb 2024 18:35:46 +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=1708626946; cv=none; b=g/gIDcy8kudGlKLphLq1FyTn7OIHrtH83rTNtRyVjjiMgol73Z2sOz7Da7I8je1sbTjfIwEMyefJMTtYrp9PEI3h4skWY8ZgDMGnwTLlKe7F0k5F94Wm2OhbzTzR3LY7ecCm6Db4dhT9eXuwHHl0jkke2P1+ARcPf5i0lglJ1LM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708626946; c=relaxed/simple; bh=K3YmDqvOq9kToVMmeQEzJK42pkAFl3SQnqMW0LM5HJQ=; h=Date:To:From:Subject:Message-Id; b=Mpt7lO65kFbi3XG08WYpZPCu2Il0CIn66k83ocwTVWhi52zKfqiVqC+XikkLCPT43YLHLSVQkRpwXYLOXHwPIxDuIKT/m2EN5s7C69mWgeuy2yI/kiakPTlaH4w13QctDXdVRaQwIoY21mQqQyoCFR3R++q4+xeXw1eE3xvC1tQ= 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=AyyKYXxE; 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="AyyKYXxE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09634C433C7; Thu, 22 Feb 2024 18:35:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1708626946; bh=K3YmDqvOq9kToVMmeQEzJK42pkAFl3SQnqMW0LM5HJQ=; h=Date:To:From:Subject:From; b=AyyKYXxELVq4ld144f3k14P29PD8afJj/gZTp+JxSKY8iVSs5AeK3TKmGsxszeq7l cUm7azP1kMA91tLusJXGeYcSoo6yBSj+KNoXGKXiuWrBx2Yaoxz8ih0HYUM7mWKgAZ naunlzkKlQZDP9xbOUjxyuqgg+N5NBWvSKBZAkGA= Date: Thu, 22 Feb 2024 10:35:45 -0800 To: mm-commits@vger.kernel.org,tim.c.chen@linux.intel.com,rientjes@google.com,muchun.song@linux.dev,mike.kravetz@oracle.com,ligang.bdlg@bytedance.com,gang.li@linux.dev,david@redhat.com,adobriyan@gmail.com,akpm@linux-foundation.org,akpm@linux-foundation.org From: Andrew Morton Subject: + hugetlb-parallelize-1g-hugetlb-initialization-fix.patch added to mm-unstable branch Message-Id: <20240222183546.09634C433C7@smtp.kernel.org> Precedence: bulk X-Mailing-List: mm-commits@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: The patch titled Subject: hugetlb-parallelize-1g-hugetlb-initialization-fix has been added to the -mm mm-unstable branch. Its filename is hugetlb-parallelize-1g-hugetlb-initialization-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/hugetlb-parallelize-1g-hugetlb-initialization-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 the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton Subject: hugetlb-parallelize-1g-hugetlb-initialization-fix Date: Thu Feb 22 10:34:41 AM PST 2024 s/initialied/initialized/, per Alexey Cc: Alexey Dobriyan Cc: David Hildenbrand Cc: David Rientjes Cc: Gang Li Cc: Gang Li Cc: Mike Kravetz Cc: Muchun Song Cc: Tim Chen Signed-off-by: Andrew Morton --- mm/hugetlb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/mm/hugetlb.c~hugetlb-parallelize-1g-hugetlb-initialization-fix +++ a/mm/hugetlb.c @@ -3618,7 +3618,7 @@ static unsigned long __init hugetlb_page static void __init hugetlb_hstate_alloc_pages(struct hstate *h) { unsigned long allocated; - static bool initialied __initdata; + static bool initialized __initdata; /* skip gigantic hugepages allocation if hugetlb_cma enabled */ if (hstate_is_gigantic(h) && hugetlb_cma_size) { @@ -3627,12 +3627,12 @@ static void __init hugetlb_hstate_alloc_ } /* hugetlb_hstate_alloc_pages will be called many times, initialize huge_boot_pages once */ - if (!initialied) { + if (!initialized) { int i = 0; for (i = 0; i < MAX_NUMNODES; i++) INIT_LIST_HEAD(&huge_boot_pages[i]); - initialied = true; + initialized = true; } /* do node specific alloc */ _ Patches currently in -mm which might be from akpm@linux-foundation.org are kexec-split-crashkernel-reservation-code-out-from-crash_corec-fix.patch arch-crash-move-arch_crash_save_vmcoreinfo-out-to-file-vmcore_infoc-fix.patch hugetlb-parallelize-1g-hugetlb-initialization-fix.patch mm-swapfile-__swap_duplicate-drop-redundant-write_once-on-swap_map-for-err-cases-fix.patch kprobes-use-synchronize_rcu_tasks_rude-in-kprobe_optimizer-fix.patch panic-add-option-to-dump-blocked-tasks-in-panic_print-fix.patch