]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r264565
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 21 Feb 2016 22:34:09 +0000 (22:34 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 21 Feb 2016 22:34:09 +0000 (22:34 +0000)
commit65595d481113ff677d7fe3f063e83e8e2fe76ef7
treed6dcbce85ca293d0cc1285b3d753c8095100b566
parentee762b101466223672c4a11ba49fa560fe2adf9a
MFC: r264565

Do not set M_BESTFIT if a strategy has already been provided.  This
fixes problems when using M_FIRSTFIT.

MFC: r280805

Add four new DDB commands to display vmem(9) statistics.

In particular, such DDB commands were added:
        show vmem <addr>
        show all vmem
        show vmemdump <addr>
        show all vmemdump

As possible usage, that allows to see KVA usage and fragmentation.

Approved by: re (gjb)

git-svn-id: svn://svn.freebsd.org/base/stable/10@295870 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/subr_vmem.c