git: kernel - Implement vm.swap_info_array sysctl

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


commit 099f3e5ecdf0a80059f62c41b82e64a67a681de6
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Aug 17 17:43:02 2010 -0700

    kernel - Implement vm.swap_info_array sysctl
    
    * Track swap usage on a per-device basis
    
    * Implement the vm.swap_info_array sysctl to retrieve the array.

Summary of changes:
 sys/sys/conf.h      |    4 ++-
 sys/vm/swap_pager.c |    4 +-
 sys/vm/swap_pager.h |    2 +
 sys/vm/vm_param.h   |   15 ++++++++++++
 sys/vm/vm_swap.c    |   63 ++++++++++++++++++++++++++++++++++++++++++++++++--
 5 files changed, 82 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/099f3e5ecdf0a80059f62c41b82e64a67a681de6


-- 
DragonFly BSD source repository





More information about the Commits mailing list