From owner-svn-src-head@freebsd.org Mon Mar 25 12:43:10 2019 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83CE21560000; Mon, 25 Mar 2019 12:43:10 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D3AD6A1B7; Mon, 25 Mar 2019 12:43:08 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id 8OwLh5a52Gusj8OwMhwdRL; Mon, 25 Mar 2019 06:43:00 -0600 X-Authority-Analysis: v=2.3 cv=fOdHIqSe c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=kj9zAlcOel0A:10 a=NTGMnVQrEZIA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=M8EQYUHMig5_a_JoYg4A:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 7F66CBDC; Mon, 25 Mar 2019 05:42:54 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id x2PCgrbK051713; Mon, 25 Mar 2019 05:42:53 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id x2PCgre6051543; Mon, 25 Mar 2019 05:42:53 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201903251242.x2PCgre6051543@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Allan Jude cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r345491 - in head/sys: conf fs/tmpfs modules/tmpfs In-Reply-To: Message from Allan Jude of "Mon, 25 Mar 2019 07:46:20 -0000." <201903250746.x2P7kKUu019786@repo.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 25 Mar 2019 05:42:53 -0700 X-CMAE-Envelope: MS4wfIPIsD/cH5MD2PmbJp2ugrMJm+0zjWrmsJPoAFMURaAY92ZIZrbf2wPucDb3viqiVXBZ6pr83H7DuOiKNO3XafoGTv81KXryiFawFg6pRvRC21Oh7LYt ast6mYPZ5/5+YrP72BpUx6MKwMXlQJvCUMSBW9U+rO2/PItq5xmALMY/ZxoT6ljjdyspsUNKJWlQHvlEWzdShJXZ+MaO3k7B9Xc2RsP94Mj1GGIyk+zaDze7 nQOB7p3XTnBJ02mS/uJI3AVKXbuwtt/QqUFYXJ4EV0lsX383F/2EmVEH0Etzxqks X-Rspamd-Queue-Id: 9D3AD6A1B7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.88 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: spqr.komquats.com]; NEURAL_HAM_SHORT(-0.92)[-0.916,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.zen.spamhaus.org : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.25)[ip: (-5.91), ipnet: 64.59.128.0/20(-2.97), asn: 6327(-2.29), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[137.136.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 12:43:10 -0000 In message <201903250746.x2P7kKUu019786@repo.freebsd.org>, Allan Jude writes: > Author: allanjude > Date: Mon Mar 25 07:46:20 2019 > New Revision: 345491 > URL: https://svnweb.freebsd.org/changeset/base/345491 > > Log: > Make TMPFS_PAGES_MINRESERVED a kernel option > > TMPFS_PAGES_MINRESERVED controls how much memory is reserved for the system > and not used by tmpfs. > > On very small memory systems, the default value may be too high and this > prevents these small memory systems from using reroot, which is required > for them to install firmware updates. > > Submitted by: Hiroki Mori > Reviewed by: mizhka > Differential Revision: https://reviews.freebsd.org/D13583 > > Modified: > head/sys/conf/options > head/sys/fs/tmpfs/tmpfs.h > head/sys/fs/tmpfs/tmpfs_vfsops.c > head/sys/modules/tmpfs/Makefile > Would this be a good candidate for a sysctl or tuneable? -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.