git: kernel - Upgrade buffer space tracking variables from int to long
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Nov 11 22:38:03 PST 2011
commit 3583bbb419ec67c251daa38bc58fa0739ad1eeac
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Nov 11 22:20:12 2011 -0800
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.
Summary of changes:
lib/libkcore/kcore.h | 2 +-
lib/libkcore/kcore_vfs.c | 2 +-
lib/libkinfo/kinfo.h | 2 +-
lib/libkinfo/kinfo_vfs.c | 2 +-
sys/kern/kern_iosched.c | 4 +-
sys/kern/vfs_bio.c | 74 ++++++++++++++++++++--------------------
sys/sys/buf.h | 2 +-
sys/vfs/hammer/hammer.h | 12 +++---
sys/vfs/hammer/hammer_io.c | 22 ++++++------
sys/vfs/hammer/hammer_vfsops.c | 16 ++++----
usr.bin/top/m_dragonfly.c | 2 +-
11 files changed, 70 insertions(+), 70 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3583bbb419ec67c251daa38bc58fa0739ad1eeac
--
DragonFly BSD source repository
More information about the Commits
mailing list