Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4791655rdb; Tue, 12 Dec 2023 09:22:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEx2rs1BZf0zLa0Yjm5cjy6/rsewSX1dlILEomV/hHxZGk++Gpi2xp2Bqp6F4CTJQr6R5t4 X-Received: by 2002:a17:90a:bc04:b0:286:6cc1:3f29 with SMTP id w4-20020a17090abc0400b002866cc13f29mr4818294pjr.96.1702401740327; Tue, 12 Dec 2023 09:22:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702401740; cv=none; d=google.com; s=arc-20160816; b=AQQBS785+Uw+E2naZvopm3L3gSit9u/lKiVFreWAd/E1jEpHcGUc4jbjRXyP93uIqv x2FYzNxLxJB1tNQaccrHY/cQMLKBxGBJHSAKGzZz61WgeGyuVtGVc/dcM5NbXkfjspuu gHaNeflvA3/ZQUsuHbeDTdwu6aqaIcgHCrr+ZzxiKvUN2v657mYyHZdzxvrRPNlOzsMh lU+2apKajQKDJlBB6mPIE1NqOwrO0Md0LRJiAyY5BLHE75GPNziV5QdONf9/Vl/cRkMr ss9AaYqkNKkhMD6oO22VMZSyeuao52OdR0Mb8Gbau1GIMVRJOGUdvk3Mh/qBB6Ai7G4s XZfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=EYeLNxxcRpZBsoYcrMasPjbq5v48kbxiKxQZBxiyMNE=; fh=YUHCwqQ6wkoCzVns36pLXr6F46ds/qpaOPFYt36gCO4=; b=N61whP4hZPSYTPouuOI4xEYCL//Xzfcw9ErBSo/vdpTmfr6Ss31skDfLYkFXJyHCHO HEZXynmi9eIPfY53zJxJtCpClikEwzkUMRg2oSdXilkD24Nq7CDua+HW6PbVtQH7TI1X QjCqgkflqoM8yFv2+0Tl1UG/SBsppGpNTl2wkdPNXjwEG1UKSfityWoUMyLgv4CieqgT qHohA7chEVI+CYq8hJoLMmQf91Qos8sobjfWC/EprUEdrC9OPqrpI1XuhcZjfhWxkIeN nDGQtbW0acjnioNpOB+TCYw4XZc5NFmofe8eXb+LYbelgAmfAoPtFNgBl21a7P76sGeh D4zQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ng9xggNY; dkim=neutral (no key) header.i=@suse.cz header.b=YM4XbS5l; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=r8qTDk+G; dkim=neutral (no key) header.i=@suse.cz header.b=n3JMvRKN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id y2-20020a17090a86c200b0028675cb4aeasi9301711pjv.47.2023.12.12.09.22.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 09:22:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ng9xggNY; dkim=neutral (no key) header.i=@suse.cz header.b=YM4XbS5l; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=r8qTDk+G; dkim=neutral (no key) header.i=@suse.cz header.b=n3JMvRKN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 90EB280A5659; Tue, 12 Dec 2023 09:22:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376562AbjLLRVu (ORCPT + 99 others); Tue, 12 Dec 2023 12:21:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346693AbjLLRVr (ORCPT ); Tue, 12 Dec 2023 12:21:47 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8914AFE; Tue, 12 Dec 2023 09:21:50 -0800 (PST) Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id DE51B1FB77; Tue, 12 Dec 2023 17:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1702401708; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EYeLNxxcRpZBsoYcrMasPjbq5v48kbxiKxQZBxiyMNE=; b=ng9xggNYDzAm/v8vqtZGMmLKDskuz7qlLuWHgfqYF1tqpLHRQhXmhUhFQNxTfEcs/BI9vx +y8prtl6hH3ojbHkUW4tm7OCCF/LNI5PLUoqoSWmrtGyFBxCnFy4GyGJiJMJgXaobTJ5L+ J8SGsCU2LRxB6obam1m0YSk/il6tWPY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1702401708; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EYeLNxxcRpZBsoYcrMasPjbq5v48kbxiKxQZBxiyMNE=; b=YM4XbS5lkmKbHQVNKll196bMoyPlGmz2ELvMPlffWShv6p6u4OQOeQ2xJuu1jFxRrD234L nEy0p6O0P/2gjxCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1702401706; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EYeLNxxcRpZBsoYcrMasPjbq5v48kbxiKxQZBxiyMNE=; b=r8qTDk+GdcbEkYv8KEIw/zD5dtgvE4xb7BhzW3ls/XNQhoEFKqq63m8p7dtkpGzdMEFqJY mCKCjLyqbgdfPG4AIPAElSrNt2Byqf/pRl2diFlM/Cj5v0iu42ES8XOSoU5pFnTOPI1ZQC 63sJybP1cFTNgmhGw9fo4KF+iXA8XYc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1702401706; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=EYeLNxxcRpZBsoYcrMasPjbq5v48kbxiKxQZBxiyMNE=; b=n3JMvRKNUuh0UZWuqTFyXdpFNaMFZ81h9bnUETg7gj/146SIhjqFosNgK23PZZaaPwzaaw AtHOxDvFIkEyoyBg== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id C9DC1136C7; Tue, 12 Dec 2023 17:21:46 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id jqmsMKqWeGXvOQAAD6G6ig (envelope-from ); Tue, 12 Dec 2023 17:21:46 +0000 From: Vlastimil Babka Date: Tue, 12 Dec 2023 18:21:43 +0100 Subject: [PATCH] Documentation, mm/unaccepted: document accept_memory kernel parameter MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231212-accept_memory_param-v1-1-a9012402b887@suse.cz> X-B4-Tracking: v=1; b=H4sIAKaWeGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDI0Mj3cTk5NSCkvjc1Nz8osr4gsSixFxdk0TzxJRk01RTUwsjJaDOgqL UtMwKsKnRsbW1AJp1SqRlAAAA To: Jonathan Corbet Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, "Kirill A. Shutemov" , Vlastimil Babka X-Mailer: b4 0.12.4 X-Spam-Level: X-Spam-Score: -1.42 Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -1.40 X-Spamd-Result: default: False [-1.40 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_HAM(-0.10)[64.97%]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-0.999]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:email,intel.com:email]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 12 Dec 2023 09:22:17 -0800 (PST) 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. Cc: Kirill A. Shutemov Signed-off-by: Vlastimil Babka --- Documentation/admin-guide/kernel-parameters.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/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= [MM] + Format: { eager | lazy } + default: lazy + By default, unaccepted memory is accepted lazily to + avoid prolonged boot at the cost of some runtime + overhead until all memory is eventually accepted. In + most cases the overhead is negligible but for some + workloads or for debugging purposes accept_memory=eager + can be used to accept all memory at once during boot. + acpi= [HW,ACPI,X86,ARM64,RISCV64] Advanced Configuration and Power Interface Format: { force | on | off | strict | noirq | rsdt | --- base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 change-id: 20231212-accept_memory_param-4a7adc5e5582 Best regards, -- Vlastimil Babka