From owner-cvs-all@FreeBSD.ORG Thu Apr 1 12:56:45 2004 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 30BF116A4CE; Thu, 1 Apr 2004 12:56:45 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13E9043D1F; Thu, 1 Apr 2004 12:56:45 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i31KuiGe046541; Thu, 1 Apr 2004 12:56:44 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i31KuiDf046540; Thu, 1 Apr 2004 12:56:44 -0800 (PST) (envelope-from jhb) Message-Id: <200404012056.i31KuiDf046540@repoman.freebsd.org> From: John Baldwin Date: Thu, 1 Apr 2004 12:56:44 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/kern sys_process.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: Thu, 01 Apr 2004 20:56:45 -0000 jhb 2004/04/01 12:56:44 PST FreeBSD src repository Modified files: sys/alpha/alpha machdep.c sys/kern sys_process.c Log: Finish fixing up Alpha to work with an MP safe ptrace(): - ptrace_single_step() is no longer called with the proc lock held, so don't try to unlock it and then relock it. - Push Giant down into proc_rwmem() instead of forcing all the consumers (including Alpha breakpoint support) to explicitly wrap calls to proc_rwmem() with Giant. Tested by: kensmith Revision Changes Path 1.219 +3 -6 src/sys/alpha/alpha/machdep.c 1.120 +8 -8 src/sys/kern/sys_process.c