kernel - Upgrade buffer space tracking variables from int to long
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Nov 2011 06:20:12 +0000 (22:20 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 Nov 2011 06:22:56 +0000 (22:22 -0800)
commit3583bbb419ec67c251daa38bc58fa0739ad1eeac
treeaf2cb687a4f033d042694c24a88b1a04440f5278
parentef48e4839320d1aaa52bd453680d71c1fc95d467
kernel - Upgrade buffer space tracking variables from int to long

* Several bufspace-related buffer cache parameters can now overflow a
  32 bit integer on machines with large amounts (~64G+) of memory.
  Change these to long.

  bufspace, maxbufspace, maxbufmallocspace, lobufspace, hibufspace,
  lorunningspace, hirunningspace, dirtybufspace,
  dirtybufspacehw, runningbufspace, lodirtybufspace, hidirtybufspace.

* Also requires an API change to libkcore/libkinfo which effects top.
lib/libkcore/kcore.h
lib/libkcore/kcore_vfs.c
lib/libkinfo/kinfo.h
lib/libkinfo/kinfo_vfs.c
sys/kern/kern_iosched.c
sys/kern/vfs_bio.c
sys/sys/buf.h
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_io.c
sys/vfs/hammer/hammer_vfsops.c
usr.bin/top/m_dragonfly.c