kernel - reduces kern.maxvnodes on machines with less memory
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 Jan 2010 19:38:43 +0000 (11:38 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 Jan 2010 19:38:43 +0000 (11:38 -0800)
commitb867f3d925a1ec0a6ca979476d91b4613fb103da
tree130262a0034e3556897f396d437e7d5c8373d4f3
parenta9de949ae80202fb71bf2bfcc15c11448b86a658
kernel - reduces kern.maxvnodes on machines with less memory

* Increase the divisor a bit to compensate for the fact that HAMMER
  eats significantly more kernel memory than UFS on a per-vnode basis.
  This is to prevent the VM system from allocating all available memory
  for required kernel structures on machines with small amounts of memory,
  such as 128M, on vkernels, and on virtual machines configured with
  fairly low amounts of memory.
sys/kern/vfs_subr.c