diff options
author | Allan Jude <allanjude@FreeBSD.org> | 2019-03-25 07:46:20 +0000 |
---|---|---|
committer | Allan Jude <allanjude@FreeBSD.org> | 2019-03-25 07:46:20 +0000 |
commit | b4b3e3498bc483ec32b5a98d8a46fc21960da4f5 (patch) | |
tree | f485fbcd96ba9b904bd68b377f209e5ffa126776 /sys/modules/tmpfs | |
parent | 07c9bf2a44a62d7b4949058376881593b5b32643 (diff) | |
download | src-b4b3e3498bc483ec32b5a98d8a46fc21960da4f5.tar.gz src-b4b3e3498bc483ec32b5a98d8a46fc21960da4f5.zip |
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
Notes
Notes:
svn path=/head/; revision=345491
Diffstat (limited to 'sys/modules/tmpfs')
-rw-r--r-- | sys/modules/tmpfs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/tmpfs/Makefile b/sys/modules/tmpfs/Makefile index 7ae719e70ca9..231c1d55fd88 100644 --- a/sys/modules/tmpfs/Makefile +++ b/sys/modules/tmpfs/Makefile @@ -4,6 +4,6 @@ KMOD= tmpfs SRCS= vnode_if.h \ - tmpfs_vnops.c tmpfs_fifoops.c tmpfs_vfsops.c tmpfs_subr.c + tmpfs_vnops.c tmpfs_fifoops.c tmpfs_vfsops.c tmpfs_subr.c opt_tmpfs.h .include <bsd.kmod.mk> |