From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3A266213E85; Mon, 28 Jul 2025 19:07:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753729681; cv=none; b=kMeiDarDY4p/2JE+wts3ezoYlOmiGVOd0wLxZ3BsdMswN4lIJWL+rBhGX+qwS6EaPXNk4GvGmVjPoRDAnMXE3w/f5Eo6HVNfGX67206sEw6ieyKzGpB0Zpo28BdZP3lW+SCuLALv+CP3yEccHbblZZLY5/tb+L8ZqkwjYIvd3B8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753729681; c=relaxed/simple; bh=tmCHjLOJ72iOAXZqEWnyle1ztE8nfZ1ufcXgM1QwdaI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=AHgeN/ijJAWcZ8kFbrarDw2iFeQiPJjj8aOhFrRdHRROAbqwAANjcUbBdtgC+PGdB3xzeQol8lEQRQpZElsKzE+Ft9SbPJEKsOFKv3tqrq2FSHExlUbYNZnvL9UW5zTJVeyu10AXAkGa1wV4btj159U1s+80TTKaPKQGUyrqLw4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=bY3bjUDt; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="bY3bjUDt" DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 1B06540AD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1753729679; bh=fnlUyUCJvDNSa7htJMdjOZh8nkiOciGX7zvIO4vjOfA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bY3bjUDt81w0sCignVfkO0fJdjd/psdSfxpqbSWi7TK6Ig8yHgCrD9mSFJEL98ySu CBoDL0Lg/k/iDiAZxgUFZ5Gyg7kvJlvW8DtcAPoOESaSxwYduWED+EU2IwU5ua9ajG GxNM35kOKmfKyybcU7Lnbp6vL//emMUemRh2StuERkPjtnMP1azI/aMS/XkKYZSdBi XN98GETJBmjiUWrjIWxZFe3zTlOjgnvjzB0bZSTxwAzcEkEHAjT+U2NFNsQI28Id/0 DnjMKPP1d8jJnT2wq4KyMGHkjUjsJGJE9E4IKRgqWyRnClRudmvXua4Bm2/iOSYcuT h+Y/YLCssU7uQ== Received: from localhost (unknown [IPv6:2601:280:4600:2da9::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 1B06540AD1; Mon, 28 Jul 2025 19:07:59 +0000 (UTC) From: Jonathan Corbet To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Cc: "Alex Xu (Hello71)" , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Subject: Re: [PATCH] docs: admin-guide: update to current minimum pipe size default In-Reply-To: <20250728-pipedoc-v1-1-2dae082a56f5@smrk.net> References: <20250728-pipedoc-v1-1-2dae082a56f5@smrk.net> Date: Mon, 28 Jul 2025 13:07:58 -0600 Message-ID: <87seigxhf5.fsf@trenco.lwn.net> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > Fixes: 46c4c9d1beb7 ("pipe: increase minimum default pipe size to 2 pages= ") > Signed-off-by: =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec > --- > The relevant man page was updated in > 7543e84442d7 ("pipe.7: Document change to default pipe size when soft lim= it is exceeded") > https://lore.kernel.org/linux-man/20240829204448.2027276-2-kstewart@effic= ios.com/ > --- > Documentation/admin-guide/sysctl/fs.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/admin-guide/sysctl/fs.rst b/Documentation/admi= n-guide/sysctl/fs.rst > index 6c54718c9d04ba0e690d064bc50f97ef883234fa..9b7f65c3efd8020d62df5b003= 88c48f2435da3e3 100644 > --- a/Documentation/admin-guide/sysctl/fs.rst > +++ b/Documentation/admin-guide/sysctl/fs.rst > @@ -164,8 +164,8 @@ pipe-user-pages-soft > -------------------- >=20=20 > Maximum total number of pages a non-privileged user may allocate for pip= es > -before the pipe size gets limited to a single page. Once this limit is r= eached, > -new pipes will be limited to a single page in size for this user in orde= r to > +before the pipe size gets limited to two pages. Once this limit is reach= ed, > +new pipes will be limited to two pages in size for this user in order to > limit total memory usage, and trying to increase them using ``fcntl()`` = will be This seems like a reasonable change, but can I ask you to resubmit it with a proper changelog, please? Thanks, jon