看板 FB_bugs 關於我們 聯絡資訊
>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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"