DragonFly BSD
DragonFly commits List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Upgrade buffer space tracking variables from int to long


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 11 Nov 2011 22:36:38 -0800 (PST)

commit 3583bbb419ec67c251daa38bc58fa0739ad1eeac
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]