git: kernel - Fix vm.swap_size sysctl
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Dec 27 00:36:37 PST 2019
commit 83178a908676471eec64243a79456bf163674161
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Dec 27 00:09:03 2019 -0800
kernel - Fix vm.swap_size sysctl
* vm.swap_size was improperly reporting the amount of free
swap space rather than the amount of swap space configured.
* Add vm.swap_free to report the amount of free swap space.
* Does not affect pstat or libkvm which use the vm.swap_info_array
sysctl.
Summary of changes:
sys/vm/swap_pager.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/83178a908676471eec64243a79456bf163674161
--
DragonFly BSD source repository
More information about the Commits
mailing list