git: libkvm - Adjust kvm_getswapinfo() to use the new vm.swap_info_array sysctl

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Aug 17 17:46:07 PDT 2010


commit 4aad631348e9217e74f499c6369ed2d99f2b55a3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 17 17:44:10 2010 -0700

    libkvm - Adjust kvm_getswapinfo() to use the new vm.swap_info_array sysctl
    
    * kvm_getswapinfo() attempts to use the new sysctl and if it fails, or
      if the kvm is operating on a kernel core file, reverts to the namelist.

Summary of changes:
 lib/libkvm/kvm_getswapinfo.c |   85 +++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 83 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4aad631348e9217e74f499c6369ed2d99f2b55a3


-- 
DragonFly BSD source repository





More information about the Commits mailing list