freebsd-skq/sys/fs/tmpfs
Xin LI 296a25a245 Improve the way to calculate available pages in tmpfs:
- Don't deduct wired pages from total usable counts because it does not
   make any sense.  To make things worse, on systems where swap size is
   smaller than physical memory and use a lot of wired pages (e.g. ZFS),
   tmpfs can suddenly have free space of 0 because of this;
 - Count cached pages as available; [1]
 - Don't count inactive pages as available, technically we could but that
   might be too aggressive; [1]

[1] Suggested by kib@

MFC after:	1 week
2011-11-21 20:26:22 +00:00
..
tmpfs_fifoops.c Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs_fifoops.h Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs_subr.c Add a new option, OBJPR_NOTMAPPED, to vm_object_page_remove(). Passing this 2011-06-29 16:40:41 +00:00
tmpfs_vfsops.c Don astbestos garment and remove the warning about TMPFS being experimental 2011-11-07 16:21:50 +00:00
tmpfs_vnops.c Added missing cache purge of from argument for rename(). 2011-11-01 12:33:06 +00:00
tmpfs_vnops.h Reflect license change of NetBSD code. 2008-09-03 18:53:48 +00:00
tmpfs.h Improve the way to calculate available pages in tmpfs: 2011-11-21 20:26:22 +00:00