Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4362504pxb; Tue, 2 Mar 2021 13:11:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJwv9xr/AVSc3Q3D3oZzjaDwIHdcNX9DOgdbKeED196PyaA2Pi59nmnReftfhakbykjxo5Vc X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr22108745edt.160.1614719482833; Tue, 02 Mar 2021 13:11:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614719482; cv=none; d=google.com; s=arc-20160816; b=zwjiUXKas7kKdYxLMm8U9P/vfGVKRCPSWi8wLcET21R0DExA1WGrQfQfFpig16R0Ly Qj6ayjGJvsOSxYJIYvL6p8cDojalZqhHKQFUc1aSQRaSdi7V36wdEPt/wu0XXBfGSHXJ LpaSYA/FFxcuq7o1fCu/od8/UyvrmYm4BWNKHYgx9bJqSQEIJJIAjjAH7dEBf2gotRGs ZtfwyFxQOXNCrEjVSd5EJcgOtL8rX5hD9hsQq9RUwalmmAEXSCYnWJc90rD/XsqYFVzG 8N/NXtvGedQ0pOi9uuOSfQ4osZViW9BtZ8K6CmSE9OgoLTBAEfTguZSpQFGLOi4ui4/H wO0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AAA2dWZgI/YPnCcSSWaWL4e/GwIGrba8ZilbqDsJCwU=; b=SFe5Py9Tn++Zjd2/MTNFVtNi7LilCTvIBjC+Ja66DgpNKrY1WGg1yzqd9OE5uIjfn/ OzqBy2mnBubDkSpeh69iAIS00L5I9GAtPUYK1Tim+COkNYArYcKv3uq1wKrbc+BospQz wOKUZ/HsuoHKEbAUjUmMCPm98xgT44W13pkLS2PYDnuLuphkkjL5Yn3J3JROagrCC1zW q+VFjm8P64HYxnrL4AYu7TWFkqFcQ5K7VqtC25a0BQzJYdrfnmGISZeuqriFAzuBDJ4g bWRjQ8AAq53noZ648fol0Sd/QZkoj/hJMn4H8vIS568P/lK3bqi7q/2LlgFLZAN1ImRI HoRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i17si12792931ejr.455.2021.03.02.13.10.50; Tue, 02 Mar 2021 13:11:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378922AbhCBJG2 (ORCPT + 99 others); Tue, 2 Mar 2021 04:06:28 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:13412 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345045AbhCBItT (ORCPT ); Tue, 2 Mar 2021 03:49:19 -0500 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DqW2m1B9dzjTLc; Tue, 2 Mar 2021 16:46:56 +0800 (CST) Received: from SWX921481.china.huawei.com (10.126.203.44) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Tue, 2 Mar 2021 16:48:12 +0800 From: Barry Song To: , CC: , , "Barry Song" , Mel Gorman , "Paul Walmsley" , Palmer Dabbelt , Albert Ou , "Paul E. McKenney" , Randy Dunlap , Andrew Morton , Thomas Gleixner , "Mauro Carvalho Chehab" , Viresh Kumar , Mike Kravetz , "Peter Zijlstra" Subject: [PATCH] Documentation/admin-guide: kernel-parameters: correct the architectures for numa_balancing Date: Tue, 2 Mar 2021 21:41:59 +1300 Message-ID: <20210302084159.33688-1-song.bao.hua@hisilicon.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.126.203.44] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X86 isn't the only architecture supporting NUMA_BALANCING. ARM64, PPC, S390 and RISCV also support it: arch$ git grep NUMA_BALANCING arm64/Kconfig: select ARCH_SUPPORTS_NUMA_BALANCING arm64/configs/defconfig:CONFIG_NUMA_BALANCING=y arm64/include/asm/pgtable.h:#ifdef CONFIG_NUMA_BALANCING powerpc/configs/powernv_defconfig:CONFIG_NUMA_BALANCING=y powerpc/configs/ppc64_defconfig:CONFIG_NUMA_BALANCING=y powerpc/configs/pseries_defconfig:CONFIG_NUMA_BALANCING=y powerpc/include/asm/book3s/64/pgtable.h:#ifdef CONFIG_NUMA_BALANCING powerpc/include/asm/book3s/64/pgtable.h:#ifdef CONFIG_NUMA_BALANCING powerpc/include/asm/book3s/64/pgtable.h:#endif /* CONFIG_NUMA_BALANCING */ powerpc/include/asm/book3s/64/pgtable.h:#ifdef CONFIG_NUMA_BALANCING powerpc/include/asm/book3s/64/pgtable.h:#endif /* CONFIG_NUMA_BALANCING */ powerpc/include/asm/nohash/pgtable.h:#ifdef CONFIG_NUMA_BALANCING powerpc/include/asm/nohash/pgtable.h:#endif /* CONFIG_NUMA_BALANCING */ powerpc/platforms/Kconfig.cputype: select ARCH_SUPPORTS_NUMA_BALANCING riscv/Kconfig: select ARCH_SUPPORTS_NUMA_BALANCING riscv/include/asm/pgtable.h:#ifdef CONFIG_NUMA_BALANCING s390/Kconfig: select ARCH_SUPPORTS_NUMA_BALANCING s390/configs/debug_defconfig:CONFIG_NUMA_BALANCING=y s390/configs/defconfig:CONFIG_NUMA_BALANCING=y s390/include/asm/pgtable.h:#ifdef CONFIG_NUMA_BALANCING x86/Kconfig: select ARCH_SUPPORTS_NUMA_BALANCING if X86_64 x86/include/asm/pgtable.h:#ifdef CONFIG_NUMA_BALANCING x86/include/asm/pgtable.h:#endif /* CONFIG_NUMA_BALANCING */ On the other hand, setup_numabalancing() is implemented in mm/mempolicy.c which doesn't depend on architectures. Cc: Mel Gorman Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Cc: "Paul E. McKenney" Cc: Randy Dunlap Cc: Andrew Morton Cc: Thomas Gleixner Cc: Mauro Carvalho Chehab Cc: Viresh Kumar Cc: Mike Kravetz Cc: Peter Zijlstra Signed-off-by: Barry Song --- Documentation/admin-guide/kernel-parameters.rst | 1 + Documentation/admin-guide/kernel-parameters.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.rst b/Documentation/admin-guide/kernel-parameters.rst index 1132796a8d96..24302cad174a 100644 --- a/Documentation/admin-guide/kernel-parameters.rst +++ b/Documentation/admin-guide/kernel-parameters.rst @@ -140,6 +140,7 @@ parameter is applicable:: PPT Parallel port support is enabled. PS2 Appropriate PS/2 support is enabled. RAM RAM disk support is enabled. + RISCV RISCV architecture is enabled. RDT Intel Resource Director Technology. S390 S390 architecture is enabled. SCSI Appropriate SCSI support is enabled. diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 04545725f187..371a02ae1e21 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3472,7 +3472,8 @@ nr_uarts= [SERIAL] maximum number of UARTs to be registered. - numa_balancing= [KNL,X86] Enable or disable automatic NUMA balancing. + numa_balancing= [KNL,ARM64,PPC,RISCV,S390,X86] Enable or disable automatic + NUMA balancing. Allowed values are enable and disable numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA. -- 2.25.1