Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4084945rwo; Mon, 24 Jul 2023 23:47:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlGxmiRQLYIzfnVrQrz94wBXRe3YrpQalRmXv6rPq09rsi9Qo2Nvgu8hoGDw1UjVvq7jrTq0 X-Received: by 2002:a17:906:8e:b0:99b:5689:1331 with SMTP id 14-20020a170906008e00b0099b56891331mr11748877ejc.59.1690267656358; Mon, 24 Jul 2023 23:47:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690267656; cv=none; d=google.com; s=arc-20160816; b=dnG7uCzoVx4kC51rRzNmMrmDuUKybv10AiwaY5rddArzSKSfP8NrIqCzPhsUj/qVHd sRCmFBf8a9PEOFJsWwNVFuSO/14tJ+tmOtAlCzKRA4Zw0ByU7oIk9L/aSKNkk6RNQaTb yhNgGGYPk7YO5xMEPIufUjNxZOBiw/va+9eAWYb6IaXGCwLNu6uw0ZS06JMQKeb9+52m +6Rdi6zTHu26fj0wP6u49FQGJ63X5v1HIw/uto4AMWVu3NNYe6kOxyOUck706oUmqupU TO/DhTklDGjhdbQgmBrw2r/3Bsw7sWL97srRL1qO38nsTejti9A9SIEyUB21i+SJBd/m WQGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=hrj98RVsYDkN3I+mRutJXnGpYUzzBqioSCRH0Vn7DU4=; fh=n45p+ia0G35hYxA+VfKNC9wt/w0U2fVxqy2Rp8UPWQo=; b=wuhlVFyDP1v40pGJCW7PF5P+X3ZlvAH2oJtKyp3pcG7BUNCBHSjW+1VpLBfbLOcmvz saptMVS/CCzKDhDQmRoMgQH1B0vFRviHXOw60a4vomONAOyKovdeNv9rYA2kyaWV5Qnb oTyFr0deH9s180mZsimzZMMuwrW5HHvpBjXJQnGIw8F4Ux6+kOoIr62jlD48HKqab4l1 T7EbYgkX0Oeth/JuQEuiKqRxVOHew8+V0xh4Lmy33/x/i10x/G/QJ/kzAWbvhpdUaIcR ZcKVBk1e4BACMYw7bYO20m4cwFEWa2YBcGC2GfT5oknArB0IiBpzpzzI6ELQ/GP5dA5h w6kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=TY2YDXA+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i4-20020a1709063c4400b00992fee4bc4csi7680410ejg.647.2023.07.24.23.47.12; Mon, 24 Jul 2023 23:47:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=TY2YDXA+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232164AbjGYGbo (ORCPT + 99 others); Tue, 25 Jul 2023 02:31:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjGYGbm (ORCPT ); Tue, 25 Jul 2023 02:31:42 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D9B7137 for ; Mon, 24 Jul 2023 23:31:41 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-d0728058651so3494899276.1 for ; Mon, 24 Jul 2023 23:31:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690266700; x=1690871500; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=hrj98RVsYDkN3I+mRutJXnGpYUzzBqioSCRH0Vn7DU4=; b=TY2YDXA+R3gSuz6cU667d4nfNItMjC0n6W1CkTqCG/q78IeOWkvZj329AN9s4Rt05g uR038QrbwLZ91o45WUPaU0IJZUPVzhumEvfiZOM111V+x1fGs6npU6622bwy64H/dwLi Oaoc3wR+eCWc4erhlak+tGSnMDqH6Yxa8OiHT9Ujx+q9AGbkyLnju6+igXlHkmYqy5pC MZaNmL1o/UnPBlqxb8UFKV+pCrgp9nHpXb0YdhbB3vw8lGW5iWrxReFVKhb9CSIsPzGD qu7pMYkrBOfCRMJP2GEncl274r688aMrenu0hjvb5Hc2T+y3Px4Rynom7QfQEd5e5b2U /njg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690266700; x=1690871500; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hrj98RVsYDkN3I+mRutJXnGpYUzzBqioSCRH0Vn7DU4=; b=Ol+AcipbFIZ7Qgyadr7tXvLm6CpSh/rIIpgbkOL8hqp9pZco+480bVl3tOPGNTfp9y C0svM16RJvG5U91SHlGI7430t3+j9x7P0U/IuRM2JVfRhYvH8u+CyW7MN6oSnOTFw3uZ +918ICNR3xQATiI/qUwrjjNBek5uC2qMUkuBYh5aqXeqpKB8Z4mR3hIxa0ThCVdUr9ci +hRNCYP4RvcoBcaDH63II3W9E9IeiXVUGgwvsrXIGAlrCdXWhfIwh/uRi2T4ZGDPvMqk 9sTFv2NeoIA3EIdZpOJCiUqXHocknWuy30siKT0OcHPmx6y46KXEHGgjKAty9ZseZ2fZ BFgg== X-Gm-Message-State: ABy/qLYmbX6M1RvrrbUj0m/xRZClll2MS3YSIUQRPjVXYWLGLK8k2t8j EvNW1SYP7FgJl2By64px2pdYhg== X-Received: by 2002:a0d:ef42:0:b0:583:9018:29ec with SMTP id y63-20020a0def42000000b00583901829ecmr10318516ywe.32.1690266700276; Mon, 24 Jul 2023 23:31:40 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id l188-20020a0dfbc5000000b00576c534115bsm3367972ywf.34.2023.07.24.23.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jul 2023 23:31:39 -0700 (PDT) Date: Mon, 24 Jul 2023 23:31:31 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Randy Dunlap cc: linux-kernel@vger.kernel.org, Stephen Rothwell , Hugh Dickins , linux-mm@kvack.org, Andrew Morton , Jonathan Corbet , linux-doc@vger.kernel.org Subject: Re: [PATCH] tmpfs: fixup Docs table for huge mount options In-Reply-To: <20230725052333.26857-1-rdunlap@infradead.org> Message-ID: <329bd13b-8970-ce41-1068-2928d4dd7b24@google.com> References: <20230725052333.26857-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 24 Jul 2023, Randy Dunlap wrote: > 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 > --- > I guess that Andrew will merge this since he merged the previous patch. Acked-by: Hugh Dickins Many thanks, Randy: your rapid rescue service is much appreciated. > > 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