From patchwork Tue Jul 23 06:41:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13739453 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DDD5C3DA49 for ; Tue, 23 Jul 2024 06:47:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AC9168D0005; Tue, 23 Jul 2024 02:47:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A52158D0002; Tue, 23 Jul 2024 02:47:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8F2C28D0005; Tue, 23 Jul 2024 02:47:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 7006E8D0002 for ; Tue, 23 Jul 2024 02:47:14 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 2CAC341C15 for ; Tue, 23 Jul 2024 06:47:14 +0000 (UTC) X-FDA: 82370085588.06.FC4B9A7 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf05.hostedemail.com (Postfix) with ESMTP id D0ADD100006 for ; Tue, 23 Jul 2024 06:47:11 +0000 (UTC) Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QNLg86Jy; spf=pass (imf05.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721717187; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Lgfd2RQYBWtbTdajm1wMgIZOs/FA2ydup5xh3QKNe1U=; b=HUrskyLrDKby5nEsJ6cVJokx3PvCPKvFKauD4cN1vo2AI6AzOzaExgozmtbZqaYOAywrVQ KJZjWP1JDF9RXipjyTF+sjCCn6RY6hSjyHXRg5ZsXYlnH0mYjs2jlrKet2o2tIOoO6Xnjt yI46hQGswunwr7hoeqMqMOBpfhgI6ck= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721717187; a=rsa-sha256; cv=none; b=1TcrHfjqANlYrDUpz+eAz+KnHrHvzxKVGGHcdx6Y2orKCRuEnIlan89fLXd43VwYV4lksu p/YFBQX0EC5bD4ejbpd0cU2KKRyTA6uB7g80/y5NmXknHqRVz/T915+kXKH8/lgwntlkRK Py95PXaaKbRbl+QBqO3ai0lBHo9lsDY= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=QNLg86Jy; spf=pass (imf05.hostedemail.com: domain of rppt@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 412C2CE0DA0; Tue, 23 Jul 2024 06:47:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88E7AC4AF10; Tue, 23 Jul 2024 06:46:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721717228; bh=XhBFop5H8bMuMnCv+pTVRkvsNA1D1d9rM83bQqfOsbg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QNLg86Jyt1YyzxPEeX6D3F4KpgxoIA7kTTXU/4Vh40COSg2P7gWaFbk2wTlGFfl4o 8VEFN0QnIMlGVDL9MQTFK1P9wKPcdxA6llZjn9naPajN8ELpS3/Hl6z/d8bIhTz8Bo crTLjwLalT1F0qF/XNoilpQdEa5ncV0aAZ/SpaB+6WLDO664rMOj6P6DtDnIvhdGiU c2Pr42NhZgqI9ZRisEeKX6Fejq+BKDo4BMOie7hVHOHzopjON0xM1GAA3kppApeLKE /0wmyOuJJNxXMREyX7/3OLD4TIDGDkn7CPLTl9q6nZ36lvACr6Abe1/mdtFq4g6M3X VaFW/sr1c5HuQ== From: Mike Rapoport To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev , Andreas Larsson , Andrew Morton , Arnd Bergmann , Borislav Petkov , Catalin Marinas , Christophe Leroy , Dan Williams , Dave Hansen , David Hildenbrand , "David S. Miller" , Davidlohr Bueso , Greg Kroah-Hartman , Heiko Carstens , Huacai Chen , Ingo Molnar , Jiaxun Yang , John Paul Adrian Glaubitz , Jonathan Cameron , Jonathan Corbet , Michael Ellerman , Mike Rapoport , Palmer Dabbelt , "Rafael J. Wysocki" , Rob Herring , Samuel Holland , Thomas Bogendoerfer , Thomas Gleixner , Vasily Gorbik , Will Deacon , Zi Yan , devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-cxl@vger.kernel.org, linux-doc@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, nvdimm@lists.linux.dev, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v2 25/25] docs: move numa=fake description to kernel-parameters.txt Date: Tue, 23 Jul 2024 09:41:56 +0300 Message-ID: <20240723064156.4009477-26-rppt@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240723064156.4009477-1-rppt@kernel.org> References: <20240723064156.4009477-1-rppt@kernel.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: D0ADD100006 X-Stat-Signature: bqkqa47mefjgpzkttod3z8t1gjqgb84y X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1721717231-125441 X-HE-Meta: U2FsdGVkX1/qAagN1HpSdKXsOHiwp7bpoO4nyS5xdwNC0HP5sk9cLFfWHmoeCFxQL3gz5ZhlNwI/ZHtCPcxgIsDymalJFuiDB6k/VJpW+6pLNiBNkc/TQBerZ77VAO+wMo94YaS4Z+0vE/0F9gJMcqfN3qyioR0IO8meJj57v5ub2LQYE3zIyEjck6xpSoWkJiVcsQ0kZqQbhn39UW4P0lc7yumZloO6sk/WfgzZ8+7ywCeGa+Et/B80XYokyRhLAfRDKEWEOwe0HmpXuhFWkwrvf8yANdVC2ZKj4np1oXwVsYSC3MHav4VJUeSWEMvmRkzKFTnkJYC+2eRdqR0zslKzLvZTx/m+nirvf0QQiDogJDalka5pKHik+CdEYgeTe41s0FoMaKu7tTJZJhbXQaW802xfTrghr3CUlfdOkPyy1CkOcrXh2o2WhAQkU4N9gMo2bCTLAY2uwSae0sJh9z9yiyJt9xKN/F8E4IHeRnQgqGIQ8ksrs8iJYuznTesLJ1Cc5S4KrlzuKIm8TDs8OKbppaMwqCJQ+Rv3MvobB0sc4mBsAoh26XXlfsUMjO4zi4bgV5Xw1K+ms7/9NZ/C0GHZhmQSFzkpK86+yQo97h18Pwy0nGlwWQpFrPsPgM5ngOrnL4VKsCxyTVVGB7OOp9gqdcT5XsR/NClxfrRO+Ghg7dtygze4DMcXM+Yob//BegR2eGwcNmz44FpHLBDyVkh8DxkJDUYJS3lfNuGbwtvmspP5+PiL9fSY4eKVZB9TOtEUGpmsRjgstZBXhEWKtKLKTyfTfqp2J/tuiiRy3ifP+qLgdBxQjekxFZz68JmrEv580jfjEt/JqKt2RDlvXHpchRMH+wmDhrsfwdhQ3LcJT7m6J+T+6EJkuciybDoheKo7uwN3WTg80Vi29MVGR5rXITpugn7Dy8obGXH7sjyjIKMloeMxGNoKIrr4R2ppDxihyCDmOIQSgsNEBOC Uqza/Otn F0jk2LD6Tj6AfMjdGXaptRtoMlWXXi6TNlG58S4+3g00I3urS3bttU1NB26szZcwjoBrIudHBNXv8M031iDHtceRiHLlapeNwKhKUmcAHvcWH9xa2QVkyPKzLCQan573Ge5FzHgGmL+rgSTIAzUKk9yQnrh1XoSS+k7vOmkDjV6RRQyMUJYhOJommf5CFyC9fDyVDpzTsl13a5jEa3POKVUJ/HbfD1vWpA7fh4UagAxSYJxpHfG4YUnUF3YQVTcWBUddsE03QZ2vIMvjh+QNsaRh0p2TRFTOPnTpdd3kB/8mjGes= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: "Mike Rapoport (Microsoft)" NUMA emulation can be now enabled on arm64 and riscv in addition to x86. Move description of numa=fake parameters from x86 documentation of admin-guide/kernel-parameters.txt Suggested-by: Zi Yan Signed-off-by: Mike Rapoport (Microsoft) --- Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++++++ Documentation/arch/x86/x86_64/boot-options.rst | 12 ------------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 27ec49af1bf2..d64e27768429 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4158,6 +4158,21 @@ Disable NUMA, Only set up a single NUMA node spanning all memory. + numa=fake=[MG] + [KNL, ARM64, RISCV, X86, EARLY] + If given as a memory unit, fills all system RAM with + nodes of size interleaved over physical nodes. + + numa=fake= + [KNL, ARM64, RISCV, X86, EARLY] + If given as an integer, fills all system RAM with N + fake nodes interleaved over physical nodes. + + numa=fake=U + [KNL, ARM64, RISCV, X86, EARLY] + If given as an integer followed by 'U', it will + divide each physical node into N emulated nodes. + numa_balancing= [KNL,ARM64,PPC,RISCV,S390,X86] Enable or disable automatic NUMA balancing. Allowed values are enable and disable diff --git a/Documentation/arch/x86/x86_64/boot-options.rst b/Documentation/arch/x86/x86_64/boot-options.rst index 137432d34109..98d4805f0823 100644 --- a/Documentation/arch/x86/x86_64/boot-options.rst +++ b/Documentation/arch/x86/x86_64/boot-options.rst @@ -170,18 +170,6 @@ NUMA Don't parse the HMAT table for NUMA setup, or soft-reserved memory partitioning. - numa=fake=[MG] - If given as a memory unit, fills all system RAM with nodes of - size interleaved over physical nodes. - - numa=fake= - If given as an integer, fills all system RAM with N fake nodes - interleaved over physical nodes. - - numa=fake=U - If given as an integer followed by 'U', it will divide each - physical node into N emulated nodes. - ACPI ====