kernel - Improve vm.vmmeter sysctl performance
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Mar 2013 08:17:42 +0000 (00:17 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Mar 2013 08:17:42 +0000 (00:17 -0800)
commit270bb6909dad0b1de3b94187749eaf9cece7fde3
treecf2017ec8289c93e1c04a10f646e0d7e98af230f
parent427e1a99f84ec99acaaeecf046ac9fb94b9d4443
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.
sys/vm/vm_meter.c