From owner-cvs-src@FreeBSD.ORG Mon Mar 15 12:38:07 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A66DF16A4CF for ; Mon, 15 Mar 2004 12:38:07 -0800 (PST) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8700D43D41 for ; Mon, 15 Mar 2004 12:38:07 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 366 invoked from network); 15 Mar 2004 20:38:06 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 15 Mar 2004 20:38:06 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i2FKc328060020; Mon, 15 Mar 2004 15:38:03 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: Ken Smith Date: Mon, 15 Mar 2004 15:39:30 -0500 User-Agent: KMail/1.6 References: <200403151848.i2FImSFe047106@repoman.freebsd.org> <20040315190853.GA33607@freebie.xs4all.nl> <20040315192139.GB28070@electra.cse.Buffalo.EDU> In-Reply-To: <20040315192139.GB28070@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403151539.30298.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: Wilko Bulte Subject: Re: cvs commit: src/sys/kern sys_process.c syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 15 Mar 2004 20:38:07 -0000 On Monday 15 March 2004 02:21 pm, Ken Smith wrote: > On Mon, Mar 15, 2004 at 08:08:53PM +0100, Wilko Bulte wrote: > > On Mon, Mar 15, 2004 at 10:48:28AM -0800, John Baldwin wrote: > > > jhb 2004/03/15 10:48:28 PST > > > > > > FreeBSD src repository > > > > > > Modified files: > > > sys/kern sys_process.c syscalls.master > > > Log: > > > Drop the proc lock around calls to the MD functions > > > ptrace_single_step(), ptrace_set_pc(), and cpu_ptrace() so that those > > > functions are free to acquire Giant, sleep, etc. We already do a > > > PHOLD/PRELE around them so that it is safe to sleep inside of these > > > routines if necessary. This allows ptrace() to be marked MP safe again > > > as it no longer triggers lock order reversals on Alpha. > > > > Someone with a SMP alpha box might also want to give this a spin I > > suppose. > > beast (alpha ref machine in the cluster) has dual processors, if something > special needs to be done to test this we could arrange something. You would need to dink with gdb (setting breakpoints, detach/attach, etc.) on a kernel with WITNESS turned on and see if it breaks or whines. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org