]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make TMPFS_PAGES_MINRESERVED a kernel option
authorallanjude <allanjude@FreeBSD.org>
Mon, 25 Mar 2019 07:46:20 +0000 (07:46 +0000)
committerallanjude <allanjude@FreeBSD.org>
Mon, 25 Mar 2019 07:46:20 +0000 (07:46 +0000)
commit771a7591dc982d060a4ae07467e7453b63d6a6a1
treef485fbcd96ba9b904bd68b377f209e5ffa126776
parent4c4acf7e5f1d176bd3bf157a32241b18b0429a44
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@yahoo.co.jp>
Reviewed by: mizhka
Differential Revision: https://reviews.freebsd.org/D13583
sys/conf/options
sys/fs/tmpfs/tmpfs.h
sys/fs/tmpfs/tmpfs_vfsops.c
sys/modules/tmpfs/Makefile