From owner-svn-src-all@freebsd.org Mon Mar 25 14:13:03 2019 Return-Path: Delivered-To: svn-src-all@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 C93071562F51 for ; Mon, 25 Mar 2019 14:13:03 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound3d.ore.mailhop.org (outbound3d.ore.mailhop.org [54.186.57.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4730C6E0AD for ; Mon, 25 Mar 2019 14:13:03 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1553523181; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=OrBMEuMnGj1f7qcBAOPmt/Wl/jcnrTbgunL+oR9bXwZNWZQBLjEa9XaAeqx0bvecT4MNhXt4YYor6 GMbzS+Nu13VB06plIRz2qYkcMzZKM8KMYJfoh2+7VsRo96GiTtP0E2kT+YgHVUekZ2Pu+VcROHEqqF XUQ7oSedY1zccJkQLDHBLL86TUsqbtn7AAmWgdr5UEsiYUvfNdN4X4pTHeDzea/UOwZH6Y/0zn2kZT xxrLR63mMTsMhGLt+dMVkEp9L3wMdWrBbpIoShU42NhX6K8w4OZB1pqG5qTA4fw048Yq1aqUj9VgLr hlR1nn0tmMILNJrzZWfef7IUtdX1oOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=fjLrQ7kUogUd8RcxbiU2tdIiGG8pQEzyppF+wuGhXbE=; b=d1r4RVsvmHqAv0Me8YrMbZ1k5p2G886rEg1X1SqS+Y+Bt6TPOpDZP/IE34iYKsn/q4XUPFRmw2sEv lyVuBQ66gl0ofenm6W2nsf4osxCEQsrrB/KLm4u539foeK6oZIhbrvJBbcSSt/w9h3vr955zB6+a0B 2IMTfsK8cdEFFb6X1ROnFvWZMoT3bIssAmUb3APH3Bm7FzqWk1pR9FHFhy12BL598bhdgak0LBVvi8 krwM6zCW1gdf0fMrDJc4u0s7jx47vrNhQLaPEmR4iidXrMSMkqG+e9KgfQTGbd2TgoiyYZG0q+9fXq XbxKtKAGumQE7mc5x/0lwS17BT198JQ== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=fjLrQ7kUogUd8RcxbiU2tdIiGG8pQEzyppF+wuGhXbE=; b=tJmPxKzvULHuorqgawFUd787UFddOW+5lDY8KC1C8zLaWtu3jLunvbLb4j4wX5AXQAowuMmKjdAL3 HWCuplJS+QuL44fFHYZ7FqyRugmdTN8X2YmBMvl/rH9IRElWZkL7zTpkz3d2kMe6ACkoAhufdNnX25 4cLMJ64dERWaFQjfdLbVeV4iPV7jQ3zbCnpGJHDz+DpGp1yqmY7N8j8KAKHi4oVq5zpwyDBcRxytIZ maiUKMVONoKFdLvKU7Rae2s2uDpI68Hb+i02Nn02yQc68HvDp0NUdevzitYcYy5kgHcW96MSW1+Hf5 y/ghEWGZskrQvuhktSfmWs6z0nJXttA== X-MHO-RoutePath: aGlwcGll X-MHO-User: 17b2f355-4f08-11e9-9bb1-1f29e4676f89 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 17b2f355-4f08-11e9-9bb1-1f29e4676f89; Mon, 25 Mar 2019 14:13:00 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x2PECwsv083222; Mon, 25 Mar 2019 08:12:58 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <3398a21318a4a6715609004d569d20de86f1dc7a.camel@freebsd.org> Subject: Re: svn commit: r345491 - in head/sys: conf fs/tmpfs modules/tmpfs From: Ian Lepore To: Cy Schubert , Allan Jude Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Mon, 25 Mar 2019 08:12:58 -0600 In-Reply-To: <201903251242.x2PCgre6051543@slippy.cwsent.com> References: <201903251242.x2PCgre6051543@slippy.cwsent.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4730C6E0AD X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2019 14:13:04 -0000 On Mon, 2019-03-25 at 05:42 -0700, Cy Schubert wrote: > 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? > The small-memory embedded systems most affected by this often don't use loader(8) at all, so tunables aren't an option, and sysctl may be too late. No reason it can't be a tunable as well, but it'll probably need to remain as a compile-time option too. -- Ian