Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4972478rdb; Tue, 12 Dec 2023 15:10:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1JKoWz6rU7NNWHE549G62xF8B1pHsM31YHOyaL+gZQFWD/24JG4/YVD36VVwmsoSu9x0x X-Received: by 2002:a05:6a20:4306:b0:18f:97c:978c with SMTP id h6-20020a056a20430600b0018f097c978cmr8976585pzk.116.1702422618407; Tue, 12 Dec 2023 15:10:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702422618; cv=none; d=google.com; s=arc-20160816; b=LO59CLLF8VRryowHCoU2IabihMISokPezMuU6WKa7FzHvXkJPctbC7jo/1SV+25MZ/ r0stYMYqxcVSdB25/UehaIRL/dQMUxWBTDoMykgNkOPplS5r8rX0OQiJhipl2g9ODGXq wdhhAxmfcUDO2v47CmnvEK+ch7wbQw469dL7ONp5MifzL6Ej8Yj36UbycETGVFIbHyJN TMePib2KivNj1kWIpa3VZ449OlSRj3k96aYcxxCna1M4uV83sY6g+ijuYcoPvP52/ikl zfBqdur6HHg3QpkHymEyBZk4V1LhO8bLu/hVaFYVCr2scebdrUvhS6VlijQ6Qa6Y+sFg HdHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=iV+B7mRqfzDgCryqUP6DNPyqOKtTIHlGdXP1pstZCZo=; fh=tzxDUMoQs8TwfJ8grExUwNYrTX8QWw15zVn0YxZHRdE=; b=TAre/5Bk4TC+vAqmRSRz3jNZwTg5tqrAELXiw3yvgyGfWnqg3Wb7ByhII8eYZ2XG4x mgI4LlMQZPVqq6Kc4IXTMigylpQM1fEGzJhvkQo203i+RDMXVIB+Ka8Woib0gJ32f6JU 5zBcBbmXYn3RC/UvfZvfoPrIXOX7YZsTvtmbMf9kzel/Gc9DV+U4oMiLxEb1qraGTXx3 IueWESQI1sSwnQXkdlMciGqHjkI09+e4gxFOECq53WZgW8UE3PDaYVMiuFAtk37GkqAj JdYqbkE5WdfTOS8TNvPnaijnrSb98oE67fx+bpRxyTdnzaYPXAVf3jTzgMMXjvRw/jhe TKvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AzEZb2bQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s33-20020a056a0017a100b006cd8f0ed07csi8399656pfg.191.2023.12.12.15.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 15:10:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AzEZb2bQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 224268046BEF; Tue, 12 Dec 2023 15:10:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377958AbjLLXKD (ORCPT + 99 others); Tue, 12 Dec 2023 18:10:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377895AbjLLXKB (ORCPT ); Tue, 12 Dec 2023 18:10:01 -0500 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41EF4AA; Tue, 12 Dec 2023 15:10:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702422608; x=1733958608; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=X6zFIevK/0rDBo9jQjfWf0VXCOMWFHI8YoKvjECYLIs=; b=AzEZb2bQ9+Rc566P30asIv0HzWZXpt94gdIebhc+S//zcPlHk8cCraoc s9otW8lii8pzSgCkc/rGEfWhNTMRtuF0lrk7ZKqjWeWCyanPOtYq2wBGP MOkxd5R7v0BxK456Z9eUxvFMsQT2AHw6G/sEpljGiCfASByQwUdUw6BtL Sxjl2SyxcCiGfEanAyHgvixJ0jc+6+7CLrZC4FZLSWf3gNZxGgXSfjNBZ v5fYEpm4ENsZj35Fuc5wdwQOH6A0fDvviXry1MNCbopDNrnZVvzGQWFOq gemP5USI8FQUjisflW+Et2Xmzu/FilpGxUG0GPOCcrwV9hIDdppWUfc9A w==; X-IronPort-AV: E=McAfee;i="6600,9927,10922"; a="461359273" X-IronPort-AV: E=Sophos;i="6.04,271,1695711600"; d="scan'208";a="461359273" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2023 15:10:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10922"; a="773734424" X-IronPort-AV: E=Sophos;i="6.04,271,1695711600"; d="scan'208";a="773734424" Received: from rfield-mobl1.amr.corp.intel.com (HELO [10.209.75.26]) ([10.209.75.26]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Dec 2023 15:10:07 -0800 Message-ID: Subject: Re: [PATCH] Documentation, mm/unaccepted: document accept_memory kernel parameter From: Tim Chen To: Vlastimil Babka , Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Kirill A. Shutemov" Date: Tue, 12 Dec 2023 15:10:07 -0800 In-Reply-To: <20231212-accept_memory_param-v1-1-a9012402b887@suse.cz> References: <20231212-accept_memory_param-v1-1-a9012402b887@suse.cz> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Dec 2023 15:10:16 -0800 (PST) On Tue, 2023-12-12 at 18:21 +0100, Vlastimil Babka wrote: > The accept_memory kernel parameter was added in commit dcdfdd40fa82 > ("mm: Add support for unaccepted memory") but not listed in the > kernel-parameters doc. Add it there. >=20 > Cc: Kirill A. Shutemov > Signed-off-by: Vlastimil Babka > --- > Documentation/admin-guide/kernel-parameters.txt | 10 ++++++++++ > 1 file changed, 10 insertions(+) >=20 > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentat= ion/admin-guide/kernel-parameters.txt > index 65731b060e3f..3a4ebb46073c 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -1,3 +1,13 @@ > + accept_memory=3D [MM] > + Format: { eager | lazy } > + default: lazy > + By default, unaccepted memory is accepted lazily to > + avoid prolonged boot at the cost of some runtime Suggest rephrasing this line. Breaking up long line makes reading easier. avoid prolonged boot. The lazy option will add some runtime Thanks. Tim > + overhead until all memory is eventually accepted. In > + most cases the overhead is negligible but for some > + workloads or for debugging purposes accept_memory=3Deager > + can be used to accept all memory at once during boot. > + > acpi=3D [HW,ACPI,X86,ARM64,RISCV64] > Advanced Configuration and Power Interface > Format: { force | on | off | strict | noirq | rsdt | >=20 > --- > base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 > change-id: 20231212-accept_memory_param-4a7adc5e5582 >=20 > Best regards,