From patchwork Tue Dec 12 17:21:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vlastimil Babka X-Patchwork-Id: 13489700 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 E7F11C4332F for ; Tue, 12 Dec 2023 17:21:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6A71A6B0314; Tue, 12 Dec 2023 12:21:55 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 657116B0315; Tue, 12 Dec 2023 12:21:55 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 51F516B0316; Tue, 12 Dec 2023 12:21:55 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 43DAB6B0314 for ; Tue, 12 Dec 2023 12:21:55 -0500 (EST) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 0903FA0A6B for ; Tue, 12 Dec 2023 17:21:55 +0000 (UTC) X-FDA: 81558833790.18.AFA3D1C Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by imf03.hostedemail.com (Postfix) with ESMTP id C575E20027 for ; Tue, 12 Dec 2023 17:21:50 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=ng9xggNY; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=YM4XbS5l; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=r8qTDk+G; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=n3JMvRKN; dmarc=none; spf=pass (imf03.hostedemail.com: domain of vbabka@suse.cz designates 195.135.223.131 as permitted sender) smtp.mailfrom=vbabka@suse.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1702401711; 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:dkim-signature; bh=EYeLNxxcRpZBsoYcrMasPjbq5v48kbxiKxQZBxiyMNE=; b=gP1QfEleSBcUuefwYCdbPTnR5XVjI0sFVysASo5woONd5Bpd70H+KdHFyhG+LDwE5Rsz9I WMnj1BJZt6/PSajlNf8RRwKWbQeE+UooPRDYn/MNBoBw54eqgyHGvFCa8rZLueAepuZm8F zHJ2pBuO8zUm9/nWOwxpSDXDrhvXpnQ= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=ng9xggNY; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=YM4XbS5l; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=r8qTDk+G; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=n3JMvRKN; dmarc=none; spf=pass (imf03.hostedemail.com: domain of vbabka@suse.cz designates 195.135.223.131 as permitted sender) smtp.mailfrom=vbabka@suse.cz ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702401711; a=rsa-sha256; cv=none; b=1TmCye8z7KzaKRcLGB0R+ahN0isfysEBVFPxjSuIrw0lDylAYzCt5VSPGUBMqkQA6k2ua7 J0qsMYMZEBASMrGGgct9PPZIvZrWRAsV1DP2wNoX6tRhxtrUvIUVjfVy7pHlFwWxO4V6zU MLXlu6UXwloS5hXPuz2wOyuKdK1YjSQ= 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 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-Rspamd-Queue-Id: C575E20027 X-Rspam-User: X-Rspamd-Server: rsp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6hxNn0up8+FhJYrbVar06shskm4LxjoY5spHsztEVCn4dxOeKeYG9rhkM8gp9iAKjb3Yk9Oidbd1EyWCqzyEaqw/WjIeY9fHktXeafmhVuMdlrTjY/ccEM8S4lwjsJXpOjJtIo9URbUpyrDEP9/K9qAiDUGzt4kPays45eG9SzNyDGQRPOp7exjAOoCPeBvU3jlLw8tHzuxxgxKb/nsqPZsp/FsMDxDRXxhED5goxpgI7akANCjKwzQG5wcGMZqu+L/c0b 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: List-Subscribe: List-Unsubscribe: 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 Acked-by: Kirill A. Shutemov --- Documentation/admin-guide/kernel-parameters.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) --- base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9 change-id: 20231212-accept_memory_param-4a7adc5e5582 Best regards, 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 |