Date: Sun, 21 Jun 2009 09:27:52 GMT From: Mikolaj Golub <to.my.trociny@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/135882: memstat_kvm_malloc broken in 7.2-STABLE Message-ID: <200906210927.n5L9RqNN026534@www.freebsd.org> Resent-Message-ID: <200906210930.n5L9U514093632@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135882 >Category: kern >Synopsis: memstat_kvm_malloc broken in 7.2-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 21 09:30:05 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mikolaj Golub >Release: >Organization: >Environment: FreeBSD zhuzha.ua1 7.2-STABLE FreeBSD 7.2-STABLE #18: Wed Jun 3 14:28:49 EEST 2009 root@zhuzha.ua1:/usr/obj/usr/src/sys/DEBUG i386 >Description: memstat_kvm_malloc is broken in FreeBSD7. As a result vmstat -m does not work with crash dumps. It has already been fixed in HEAD: SVN rev 192148 on 2009-05-15 18:25:44Z by jhb Update the KVM backend for malloc stats to catch up to the internal structure BI change from the addition of DTrace malloc(9) probes. Submitted by: Ben Kelly ben of wanderview dot com I have tested this fix on 7.2-STABLE and it works well here too. So it would be nice to MFC this to FreeBSD7 as having kmalloc statistics form crashes is very useful sometimes. >How-To-Repeat: vmstat -m -M /dev/mem -N /boot/kernel/kernel and compare with the output of vmstat -m >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906210927.n5L9RqNN026534>