From patchwork Tue Jul 25 05:23:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 13325880 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 5CCCEEB64DD for ; Tue, 25 Jul 2023 05:23:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CDA0C8E0003; Tue, 25 Jul 2023 01:23:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C8A1E8E0001; Tue, 25 Jul 2023 01:23:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B7A6A8E0003; Tue, 25 Jul 2023 01:23:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id AA0118E0001 for ; Tue, 25 Jul 2023 01:23:41 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 84AEF120C9B for ; Tue, 25 Jul 2023 05:23:41 +0000 (UTC) X-FDA: 81048991842.22.68C1E61 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf21.hostedemail.com (Postfix) with ESMTP id 405E91C000D for ; Tue, 25 Jul 2023 05:23:38 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=rE1E61PV; spf=none (imf21.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690262619; 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-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=w1RQcZApJNcQIiOYko3MBN0wAf27FXEvpHj25/B9Tsw=; b=07lgI1BXFVR4m6aYgZKjhG4/enHpQulH7NKlp+i5YT9aTF/pvenHGxF4J8giDKJ81r3Q27 SNjEPdZwHMZBCTItZhQZS3adAv8HIzx61Zp5JJ2//pZXI7Njhd7c/td/f2MIEJaKNEChQI V43sJSyceaLF9NxTYOxNOXdH0Km0Ce0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690262619; a=rsa-sha256; cv=none; b=8hD8aRh7eOwcIuTH1wEVCU2VmT+CzRg9PnNOxC3BxD4ta20dJi8qIblAfBs3McZ+LXfLhZ GYkou0eylc9NF/Ij+DnT7rTV03F4DDUABI+C14/Ej9Ja5ZmNmuYcn1IbDS3N+Nxvd0Y1Et hpha6r3GYjzJckgycfFFEJ6Xk6F8s4A= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=rE1E61PV; spf=none (imf21.hostedemail.com: domain of rdunlap@infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=rdunlap@infradead.org; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=w1RQcZApJNcQIiOYko3MBN0wAf27FXEvpHj25/B9Tsw=; b=rE1E61PVdJWNEsWmfXuK5T1ovO 5AUZlmGgeAu+Hpt/3i6QoDfcBzCy59P+qcU0ffxUhYP9jaovuutm04ey5xq3BiKb9109Rdt0I/id3 GN/8GNJyGjgs1XAExNntJug/VHZ+mBpuSQe1eTJLYgLhrv5uosY9FvwOxAmNfyQj5nawe3Hvbfmc2 vAuLgZHP5j60p8puNVuCgqL5iVbvzrcUDeYZFBNycK1tp39mbT+AHtcXuAXFQXsKl8F9OO0Fy6pMO bCFzekbFcI0AJsWezAKs4GeFKB5Fz5OXQnJAMnEYnivhPt8n5Gy7M2aSM0H5LgyCFRWH19hHEWF73 5rporfmQ==; Received: from [2601:1c2:980:9ec0::2764] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qOAWE-006IGf-1w; Tue, 25 Jul 2023 05:23:34 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Stephen Rothwell , Hugh Dickins , linux-mm@kvack.org, Andrew Morton , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH] tmpfs: fixup Docs table for huge mount options Date: Mon, 24 Jul 2023 22:23:33 -0700 Message-ID: <20230725052333.26857-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 405E91C000D X-Rspam-User: X-Stat-Signature: 7f77y67cqdsjoswikdx3neeausosiw3s X-Rspamd-Server: rspam03 X-HE-Tag: 1690262618-537399 X-HE-Meta: U2FsdGVkX18UGG4p0eNTi0n6CyREv4XHQwuRuQe3h92yMlfo3MyXXhpq/WbtaF1vw1AFGOchQezYJn7vLWN4hE8Bn0Np5cUCy0tlvC+egVLlfFvSIoK2zlrcAr4lSIFgMeK200nHM9SbZ3oW+sCDkGmjn+QutJyBm2GehlHbM4cmeLcAjgyHwc74mLKiuyMeM6rHQBosTPKvdsUx9obLTl0bvVEYWLRzipXnpg6+IUyXxMdS3GPhSPYhGWgoFrfl/kJIHPVGKqW5k5v6bri6Pa8a+g6ENcPj56SaOcZTaz6Tz8MjsWtejenf4cZyyFICK5sh31QvMXjy5jpHUKSTnplqT7LVETyP324U+zjTpbwWXsRXpLd3XsANh6Q4lZDEmhepyULm+/NNtblMOGnoA9l2XX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XxpBuPeuJKVERlSr7z60n/QtmtjkGP+crlXiPBF6fcF8tggTQOxCjiKEI52+WgrNycJQ6fNc9SfU9oBiC04VLhJN/vdlw3nJ5mC9qrjHDy8ffyawzguBemtIs3/2BlmRdapr5rRzI= 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: A table's header and footer lines must match its text columns in width, so extend the header/footer for column 1 to match the text. Fixes this documentation build error: Documentation/filesystems/tmpfs.rst:116: ERROR: Malformed table. Text in column margin in table line 4. Fixes: a0ebb5aa2de3 ("tmpfs: fix Documentation of noswap and huge mount options") Signed-off-by: Randy Dunlap Reported-by: Stephen Rothwell Link: https://lore.kernel.org/lkml/3084e97c-3a7d-ace8-2e9c-31642fd663df@google.com/T/#me28ed2124bca2e632eee86ff1d986e5c1f731a7c Cc: Hugh Dickins Cc: linux-mm@kvack.org Cc: Andrew Morton Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Acked-by: Hugh Dickins --- I guess that Andrew will merge this since he merged the previous patch. Documentation/filesystems/tmpfs.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff -- a/Documentation/filesystems/tmpfs.rst b/Documentation/filesystems/tmpfs.rst --- a/Documentation/filesystems/tmpfs.rst +++ b/Documentation/filesystems/tmpfs.rst @@ -110,13 +110,13 @@ configured with CONFIG_TRANSPARENT_HUGEP your system (has_transparent_hugepage(), which is architecture specific). The mount options for this are: -=========== ============================================================== -huge=never Do not allocate huge pages. This is the default. -huge=always Attempt to allocate huge page every time a new page is needed. +================ ============================================================== +huge=never Do not allocate huge pages. This is the default. +huge=always Attempt to allocate huge page every time a new page is needed. huge=within_size Only allocate huge page if it will be fully within i_size. - Also respect madvise(2) hints. -huge=advise Only allocate huge page if requested with madvise(2). -=========== ============================================================== + Also respect madvise(2) hints. +huge=advise Only allocate huge page if requested with madvise(2). +================ ============================================================== See also Documentation/admin-guide/mm/transhuge.rst, which describes the sysfs file /sys/kernel/mm/transparent_hugepage/shmem_enabled: which can