svn commit: r345491 - in head/sys: conf fs/tmpfs modules/tmpfs

Cy Schubert Cy.Schubert at cschubert.com
Mon Mar 25 12:43:10 UTC 2019


In message <201903250746.x2P7kKUu019786 at 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 <yamori813 at yahoo.co.jp>
>   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 <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the svn-src-head mailing list