]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Eliminate the counting of vm_page_pa_tryrelock calls. We really don't
authoralc <alc@FreeBSD.org>
Sat, 8 Jan 2011 22:45:22 +0000 (22:45 +0000)
committeralc <alc@FreeBSD.org>
Sat, 8 Jan 2011 22:45:22 +0000 (22:45 +0000)
commita3f4c0274db19c40a1aa1e7cfa5a914ba189f866
treea6c9f223068f91b184fceed1c686593f29653de3
parent26e5735cfb7105da5b9a155235e1fa3fde0ba7a7
Eliminate the counting of vm_page_pa_tryrelock calls.  We really don't
need it anymore.  Moreover, its implementation had a type mismatch, a
long is not necessarily an uint64_t.  (This mismatch was hidden by
casting.)  Move the remaining two counters up a level in the sysctl
hierarchy.  There is no reason for them to be under the vm.pmap node.

Reviewed by: kib
sys/vm/vm_page.c