From owner-cvs-src@FreeBSD.ORG Thu Apr 10 20:28:03 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8462F106566B; Thu, 10 Apr 2008 20:28:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 717478FC1C; Thu, 10 Apr 2008 20:28:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3AKS3OA020448; Thu, 10 Apr 2008 20:28:03 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3AKS32j020447; Thu, 10 Apr 2008 20:28:03 GMT (envelope-from rwatson) Message-Id: <200804102028.m3AKS32j020447@repoman.freebsd.org> From: Robert Watson Date: Thu, 10 Apr 2008 20:28:03 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/share/man/man9 Makefile stack.9 src/sys/kern kern_lock.c subr_stack.c src/sys/sys stack.h src/sys/vm redzone.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 20:28:03 -0000 rwatson 2008-04-10 20:28:03 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) share/man/man9 Makefile stack.9 sys/kern kern_lock.c subr_stack.c sys/sys stack.h sys/vm redzone.c Log: Merge Makefile:1.320, stack.9:1.4, kern_lock.c:1.114, subr_stack.c:1.4, stack.h:1.3, redzone.c:1.2 from HEAD to RELENG_7: Modify stack(9) stack_print() and stack_sbuf_print() routines to use new linker interfaces for looking up function names and offsets from instruction pointers. Create two variants of each call: one that is "DDB-safe" and avoids locking in the linker, and one that is safe for use in live kernels, by virtue of observing locking, and in particular safe when kernel modules are being loaded and unloaded simultaneous to their use. This will allow them to be used outside of debugging contexts. Modify two of three current stack(9) consumers to use the DDB-safe interfaces, as they run in low-level debugging contexts, such as inside lockmgr(9) and the kernel memory allocator. Update man page. Revision Changes Path 1.310.2.3 +1 -0 src/share/man/man9/Makefile 1.5.2.2 +15 -2 src/share/man/man9/stack.9 1.110.2.1 +1 -1 src/sys/kern/kern_lock.c 1.3.2.1 +79 -24 src/sys/kern/subr_stack.c 1.2.4.1 +2 -0 src/sys/sys/stack.h 1.1.2.1 +4 -4 src/sys/vm/redzone.c