From owner-cvs-all@FreeBSD.ORG Mon May 5 08:12:52 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A10E37B401; Mon, 5 May 2003 08:12:52 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AA4943F85; Mon, 5 May 2003 08:12:52 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h45FCp0U073951; Mon, 5 May 2003 08:12:51 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h45FCp9P073950; Mon, 5 May 2003 08:12:51 -0700 (PDT) Message-Id: <200305051512.h45FCp9P073950@repoman.freebsd.org> From: Robert Watson Date: Mon, 5 May 2003 08:12:51 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/procfs procfs_dbregs.c procfs_fpregs.c procfs_regs.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 May 2003 15:12:53 -0000 rwatson 2003/05/05 08:12:51 PDT FreeBSD src repository Modified files: sys/fs/procfs procfs_dbregs.c procfs_fpregs.c procfs_regs.c Log: Clean up proc locking in procfs: make sure the proc lock is held before entering sys_process.c debugging primitives, or we violate assertions. Also, be more careful about releasing the process lock around calls to uiomove() which may sleep waiting for paging machinations or related notions. We may want to defer the uiomove() in at least one case, but jhb will look into that at a later date. Reported by: Philippe Charnier Reviewed by: jhb Revision Changes Path 1.22 +4 -1 src/sys/fs/procfs/procfs_dbregs.c 1.28 +4 -1 src/sys/fs/procfs/procfs_fpregs.c 1.27 +4 -3 src/sys/fs/procfs/procfs_regs.c