From patchwork Wed Aug 2 07:43:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: mawupeng X-Patchwork-Id: 13337786 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 28537C001DE for ; Wed, 2 Aug 2023 07:43:26 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A64EF280137; Wed, 2 Aug 2023 03:43:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 99F33280112; Wed, 2 Aug 2023 03:43:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 84054280137; Wed, 2 Aug 2023 03:43:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 70393280112 for ; Wed, 2 Aug 2023 03:43:25 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 34A3A1C9403 for ; Wed, 2 Aug 2023 07:43:25 +0000 (UTC) X-FDA: 81078374370.24.F6D09DF Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by imf12.hostedemail.com (Postfix) with ESMTP id 11CE54001D for ; Wed, 2 Aug 2023 07:43:21 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf12.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690962203; a=rsa-sha256; cv=none; b=KVTjhh4Okiw4qXUk/+lOCHl9R44Z8zG2/0elOYvYnkxO3atcGw1zuufnLUvaCoLZHfHNKv q1Pky4sdMV9m9uTcjf8uO6IB7SaOd3weYwK4MbuUjczpFVsKCGYHkzclCCkCCAPwTytiTq ymWzldR49E+qf81U+rkLlyX3p8pcbe0= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf12.hostedemail.com: domain of mawupeng1@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=mawupeng1@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690962203; 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-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=7CR3uGZYevG3pD9bIimNWDQJZDf4VJR/u66Uy3ng4p8=; b=l8NBgGxPgOUz9cLF9nox1jOvj6oHfrPpvd31axgGz1E37pYOJ//NbvG2E8nivbTMtukkIE 8xwBbaqUsp1bWkQm0KQzIaWKVI0X4Xp4dXeAUtk9SxMYpTnQS0NzVyPslmuwxlzJNhX7AW yKAX4AObhPWXuRvnrmEnsYDOLqHqw+k= Received: from dggpemm500014.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RG3pb0wbVz1GDKL; Wed, 2 Aug 2023 15:42:15 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) by dggpemm500014.china.huawei.com (7.185.36.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 2 Aug 2023 15:43:16 +0800 From: Wupeng Ma To: , , CC: , , Subject: [PATCH] doc: update params of memhp_default_state= Date: Wed, 2 Aug 2023 15:43:12 +0800 Message-ID: <20230802074312.2111074-1-mawupeng1@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.175.112.125] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpemm500014.china.huawei.com (7.185.36.153) X-CFilter-Loop: Reflected X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 11CE54001D X-Stat-Signature: opjuc4r3h41nkapkzmiw8bzk5huyf6nh X-Rspam-User: X-HE-Tag: 1690962201-117602 X-HE-Meta: U2FsdGVkX1+IQYgEzhl2xAEmHZHdVqnq4zX41OSDs9B+bl+zZZ6/AppIUwHfSC5eDVGC7zPSHeNaCPPrbvNa1doK16BfXE5krEOdbah6UVr8OOSAiyUdZ491WL8GqYXsr1kYD0snsfcoVyxdCTrwHDEongfWooCia2ZUXKTn6L6kNHFqdCbL6Uy8UMMN7xc7ZEp4mKqcS8aak+mXbpH67p8ymZwUR9W+toSMAglj30SbIE2zVfGuy4KEWM2NikvDaf5FG5Z425sICo4WFGADKzFOYtI0sgy3O8s7xpr3jz5W9BxIdMvRfM0H6l2ul2QPCSeKt1Dbpf+lKg2FS/3cu1m82j0eZN7r+5oDh9hku7fVBlkDOIrlrZY6IWfawJ0yug88mdWyRV77i0Ay44jDrJzsb+anwaPk0nAoOnxNV+4cAu4DfXFh6Iu8zjsWwlyLgqtYo2O2c9gLTie/IuRKfbSdsUxdI1s9yaEv+QoQOndgj3nMeqYuNr2qx7GCAA91OFHcDqFNZHshtmr2vbro5n0Ywpmy9o8D8TC9qyeNSWNoxkSict3a7ZYskjr2hy81ytnvCRZEwXXhGaVKIk6jlQXIy4YBEeiClspEw63f+J0djHsN06dgncSeZ6+qZlN3kdRkqJs3XsR/mFUKY+CaZsWmcb++LvzsrTkBEksZjm5oJqwtuE9t7WG/Ese9cz++u6XES8WolvcgS3da4VMmnr8pg6e69QgmKHU1CA8Bzqeacc1yg4iMTDgwzknqMRuyKn3u1VtFTUE1jHYAyr7GsBoR7F4Q7K+wpxfewMSR7/DrK820KuKthv59Ai1D4S9XVyyFP06cFpC9UvMjDOD91Xn35vagOHJxrHhppv9ewMb49RO+/D6sJnB45W4xSyY+C3wXnYLZzGWOsTi8QFCpbTUoIks1oM+2exu7D3n523ll0053MvIsHqjXq+QbSYsshRqz5gVZf1QRm1b/aOj QRg+x64t l4LMYoH/gKfFnZmeO6MzMTix0zDRifVEwTHOPMKCdlOU85T76ov+PO6rh3iHYMEZDT8l7Kwt2eFxKrsP0qgU75WeZqXz4fD9XCkwJ/eiokUaOee1HWFH6mpwvpETS0CMnGP8tGQuZHij89b1iqcNUCV9wVuOXjKsEj6MCANavxT2CXjbhGPOCzTe/xiZ+rPVSbepb 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: From: Ma Wupeng Commit 5f47adf762b7 ("mm/memory_hotplug: allow to specify a default online_type") allows to specify a default online_type which make online memory to kernel or movable zone possible but fail to update to doc. Update doc to fit this change. Signed-off-by: Ma Wupeng Reviewed-by: David Hildenbrand --- Documentation/admin-guide/kernel-parameters.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index a1457995fd41..09bad9c62f41 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -3105,7 +3105,7 @@ [KNL,SH] Allow user to override the default size for per-device physically contiguous DMA buffers. - memhp_default_state=online/offline + memhp_default_state=online/offline/online_kernel/online_movable [KNL] Set the initial state for the memory hotplug onlining policy. If not specified, the default value is set according to the