Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1558324rdh; Mon, 25 Sep 2023 17:20:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMePk5kejI5kAV0zugGtxPWgp18DJrDoy+vG+Ni/whQZEM+emMbNor/p9pgRIgpinKxz8k X-Received: by 2002:a05:6870:ac20:b0:1b3:9e41:de07 with SMTP id kw32-20020a056870ac2000b001b39e41de07mr10639466oab.36.1695687648232; Mon, 25 Sep 2023 17:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695687648; cv=none; d=google.com; s=arc-20160816; b=XXmCG/M4rR4Q+xa5ujRIXGn7nB/hJoBtoby+DwqLWf/TFFXVmBKwluyANdalqrlOZi zAsXXvu6sRlZE69X8U2urAQgNO3KhKMp2rFzODONI3WUFklnJZrfjYz3OylqOk4xWoMd +G+JTqcBP+868rTLguvjy0dCvfcUTk+k679q5XJprO6kMtgML1fE807COqYJU0wieYen G0rG0zJkUAc+ir/aupPCOTj330qsmldCp4xx0fg7LReNdFdF9mheTsGbJIjO2jW+5+Wa Xbl7rSsxVamG3ukmFFrte57GY93G6UybVWk6QbLC5L27WDc8yS3zSqBTII1DoZpsV0Fa V+WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1BNm+y3Qz+VI2gb0aLDbxCfm9tm1tVfJ/rcaXFhCgps=; fh=0UtH6e6H6jzBqfTZLddhx8UBK47G6AqNiaLq4W5gQGE=; b=Hc2Eiao05LrprIpustQZDtFHMKhCxgNDi23ptsbGkodeWwhBtcUCjVD7xt8aD1M/aq B37M0cnGhsBu/c+dO2CZcN0o60athkLv1Re8mqb3LQWwqSx3uCdzrSdB/C6EQGmucNXH fPpJVtwBpKLeVAh33Mbwyn3hcqtYj3a99OfnwQkp82PnNp+z0TK7HepClyi4jO73qd+R kHlRjGkK/T3OEmWBvM4wJxhKQZ/U5esfeoUYT0a/JMm2tE+vPBTiN43I4vQef9tsfDn/ 1JVaRHRmhQDG6584O1se5Ha5juCGafHzsfhZc9Btk+B4N4WIWy7LaMOA8hQGvQbXN8nQ ZEGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="hIGlYoo/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id w8-20020a63f508000000b00565e92e8734si624458pgh.769.2023.09.25.17.20.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 17:20:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="hIGlYoo/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id BE13E832D73F; Mon, 25 Sep 2023 17:20:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230449AbjIZAUn (ORCPT + 99 others); Mon, 25 Sep 2023 20:20:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjIZAUm (ORCPT ); Mon, 25 Sep 2023 20:20:42 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC09710A; Mon, 25 Sep 2023 17:20:35 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D62AC433C7; Tue, 26 Sep 2023 00:20:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695687635; bh=e3Yoq9pOLHOvljpOv+ix7wrGoqb64GYOUno0SrLgHPA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hIGlYoo/q44hoAwjR1Aux0HDlWYTPdNwBSFKBGCPSIoX9kEVVU2hmyChA7N9dYcDz ODnctHmhKndFZcpKA+0zX5k2sBv5aGMhnoXkqQA9wy9IbIpvtJcG5qnu2Fl1QwjFIg InpcRinxeduXnYkLMwE2GvadD7r5pUtGcxJ33ugDqljrHdEMFrsP7ucvnVktNX+aIR rfuU9EUA6x2fFwblj5aygUw3IdCjaLwpd+ONI3IgZcOQ0iPj5c+82JYRsw48Nzu5XI 8xM5hlwYm/MHRQ24vTUMXxEqmf3DzkzQqXmva2YYp8pcBwjAeYAFi9hh2h77mMoiH0 UaFHCoIwluBbA== Date: Tue, 26 Sep 2023 02:20:30 +0200 From: Alejandro Colomar To: Luis Chamberlain Cc: linux-man@vger.kernel.org, linux-api@vger.kernel.org, hughd@google.com, p.raghav@samsung.com, da.gomez@samsung.com, rohan.puri@samsung.com, rpuri.linux@gmail.com, a.manzanares@samsung.com, dave@stgolabs.net, yosryahmed@google.com, keescook@chromium.org, patches@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] tmpfs.5: extend with new noswap documentation Message-ID: References: <20230920235022.1070752-1-mcgrof@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ezffmyq2fe7k4oep" Content-Disposition: inline In-Reply-To: <20230920235022.1070752-1-mcgrof@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 25 Sep 2023 17:20:47 -0700 (PDT) --ezffmyq2fe7k4oep Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2] tmpfs.5: extend with new noswap documentation MIME-Version: 1.0 Hi Luis, On Wed, Sep 20, 2023 at 04:50:22PM -0700, Luis Chamberlain wrote: > Linux commit 2c6efe9cf2d7 ("shmem: add support to ignore swap") > merged as of v6.4 added support to disable swap for tmpfs mounts. >=20 > This extends the man page to document that. >=20 > Signed-off-by: Luis Chamberlain Patch applied. Thanks, Alex > --- >=20 > changes on v2: >=20 > - Use semantic newlines >=20 > man5/tmpfs.5 | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/man5/tmpfs.5 b/man5/tmpfs.5 > index 5274e632d6fd..047a17a78ee0 100644 > --- a/man5/tmpfs.5 > +++ b/man5/tmpfs.5 > @@ -103,6 +103,12 @@ suffixes like > .BR size , > but not a % suffix. > .TP > +.BR noswap "(since Linux 6.4)" > +.\" commit 2c6efe9cf2d7841b75fe38ed1adbd41a90f51ba0 > +Disables swap. > +Remounts must respect the original settings. > +By default swap is enabled. > +.TP > .BR mode "=3D\fImode\fP" > Set initial permissions of the root directory. > .TP > --=20 > 2.39.2 >=20 --ezffmyq2fe7k4oep Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE6jqH8KTroDDkXfJAnowa+77/2zIFAmUSI84ACgkQnowa+77/ 2zJtahAAqgPqzQ/Py592AplsMuBWu30BMai3jki60tNkEL0DjUP0aVYdRag0H8ja q7nKAC/Biqw+poS4EGFeZoaa0WqKfi6kVJhDKhlFXVa0l37l78CfJ38ldJDuENA2 +hkW531e1HBtz4xKPAJ56zRsbecmbIcc70FOHcE6k6rHTI3oy/WZ8MFVHKy1lALb KwkTM9v/DmM2MdgWX5TFugZRP2X+gWG+AZYsO6nF7NgOI2/BSAw8FhrKeE9d/IG8 cO1iKXo3mecz86WRlbc72Flo4PnKezGVNJCddcV6gu6yD/Oy2nvFtV6Ni+WbVTU1 qMmfR5sLyKMUcY1kMMTdRhjHwu1B0wk9i/0bK2bGbrAmjo/pvsHlPBssRqXjWAib Gdj+eCMqo81kV6bZwOHqYdVKZYrTy83Ou6Gn7x3KhMhubayrvkaHKOBgT4q15V97 B7dk7Zqh/zdPHyXap0CjYfIH20B1xMr7bblI1dIJsHbLAx0RtPue67/sK0F6ZiWn tjdjcQ+EgvpQJVQqUpKGMQeR4450Dfd2thcWtFfRAzmoP+dCnmyxBAb2IEDj8WiZ Q2kWzVG2++EWGCDKSltiAylNGKqZSzyWYgCr5K5CYDX1X2GOmo12MoFdi1mAovEt ByI4/w92XL0glZCrsQQGRtE4bVeD/qMKVe/HPKVIUMm0yGiMkwQ= =6UrE -----END PGP SIGNATURE----- --ezffmyq2fe7k4oep--