git: kernel - Improve vm.vmmeter sysctl performance
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Mar 3 00:19:14 PST 2013
commit 270bb6909dad0b1de3b94187749eaf9cece7fde3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Mar 3 00:17:42 2013 -0800
kernel - Improve vm.vmmeter sysctl performance
* Improve performance by reducing the rate at which the marker is moved.
* Fix a bug, noting that lwkt_yield() can cause us to lose the token,
by always using the marker for both it and the collision case.
Summary of changes:
sys/vm/vm_meter.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/270bb6909dad0b1de3b94187749eaf9cece7fde3
--
DragonFly BSD source repository
More information about the Commits
mailing list