From owner-cvs-src-old@FreeBSD.ORG Tue Jun 15 19:34:04 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7432106566B for ; Tue, 15 Jun 2010 19:34:04 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A40B68FC0C for ; Tue, 15 Jun 2010 19:34:04 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o5FJY4uI062386 for ; Tue, 15 Jun 2010 19:34:04 GMT (envelope-from sbruno@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o5FJY4vu062385 for cvs-src-old@freebsd.org; Tue, 15 Jun 2010 19:34:04 GMT (envelope-from sbruno@repoman.freebsd.org) Message-Id: <201006151934.o5FJY4vu062385@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sbruno@repoman.freebsd.org using -f From: Sean Bruno Date: Tue, 15 Jun 2010 19:28:37 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libmemstat memstat.c memstat.h memstat_internal.h memstat_uma.c src/sys/vm uma.h uma_core.c uma_int.h src/usr.bin/vmstat vmstat.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2010 19:34:04 -0000 sbruno 2010-06-15 19:28:37 UTC FreeBSD src repository Modified files: lib/libmemstat memstat.c memstat.h memstat_internal.h memstat_uma.c sys/vm uma.h uma_core.c uma_int.h usr.bin/vmstat vmstat.c Log: SVN rev 209215 on 2010-06-15 19:28:37Z by sbruno Add a new column to the output of vmstat -z to indicate the number of times the system was forced to sleep when requesting a new allocation. Expand the debugger hook, db_show_uma, to display these results as well. This has proven to be very useful in out of memory situations when it is not known why systems have become sluggish or fail in odd ways. Reviewed by: rwatson alc Approved by: scottl (mentor) peter Obtained from: Yahoo Inc. Revision Changes Path 1.8 +8 -0 src/lib/libmemstat/memstat.c 1.12 +1 -0 src/lib/libmemstat/memstat.h 1.7 +1 -0 src/lib/libmemstat/memstat_internal.h 1.18 +2 -0 src/lib/libmemstat/memstat_uma.c 1.35 +2 -1 src/sys/vm/uma.h 1.158 +16 -9 src/sys/vm/uma_core.c 1.44 +1 -0 src/sys/vm/uma_int.h 1.108 +5 -4 src/usr.bin/vmstat/vmstat.c