From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDA0EC4332F for ; Tue, 12 Dec 2023 23:10:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377964AbjLLXKD (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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,