CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2025/10/15 00:52:50
Modified files:
sys/tmpfs : tmpfs.h tmpfs_mem.c tmpfs_vfsops.c
Log message:
Replace the TMPFS_PAGES_RESERVED logic with the limit 1/2 of RAM. The
sum of all tmpfs filesystems memory consumption can't exceed this limit
even the filesystem has it's own. This prevents the case while user
consumed all available memory and made system unusable.
Note, the tmpfs still remains disabled.
Tested with dpb(1) by kirill, ok deraadt.