CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2014/05/06 05:50:14

Modified files:
        sys/arch/amd64/amd64: fpu.c 
        sys/kern       : kern_fork.c 
        sys/miscfs/procfs: procfs_vfsops.c 
        sys/uvm        : uvm_extern.h uvm_meter.c 

Log message:
Include <sys/vmmeter.h> directly instead of relying on it being
pulled by <uvm/uvm_extern.h> and turn uvm_total() into a private
function.

The preferred way to get memory stats is through the VM_UVMEXP
sysctl(3) since VM_METER is just a wrapper on top of it.  In the
kernel, use `uvmexp' directly instead of uvm_total().

This change does not remove <sys/vmmeter.h> from <uvm/uvm_extern.h>
to give some more time to port maintainers to fix their ports.

ok guenther@ as part of a larger diff.

Reply via email to