From owner-cvs-src@FreeBSD.ORG Mon Mar 15 11:08:56 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 3E6DA16A4CE; Mon, 15 Mar 2004 11:08:56 -0800 (PST) Received: from smtp-out5.xs4all.nl (smtp-out5.xs4all.nl [194.109.24.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8207A43D31; Mon, 15 Mar 2004 11:08:55 -0800 (PST) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-out5.xs4all.nl (8.12.10/8.12.10) with ESMTP id i2FJ8r7U069076; Mon, 15 Mar 2004 20:08:54 +0100 (CET) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.10/8.12.9) with ESMTP id i2FJ8rTj033623; Mon, 15 Mar 2004 20:08:53 +0100 (CET) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.10/8.12.9/Submit) id i2FJ8rou033622; Mon, 15 Mar 2004 20:08:53 +0100 (CET) (envelope-from wkb) Date: Mon, 15 Mar 2004 20:08:53 +0100 From: Wilko Bulte To: John Baldwin Message-ID: <20040315190853.GA33607@freebie.xs4all.nl> References: <200403151848.i2FImSFe047106@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200403151848.i2FImSFe047106@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-OS: FreeBSD 4.9-STABLE X-PGP: finger wilko@freebsd.org cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG 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 19:08:56 -0000 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. -- Wilko Bulte wilko@FreeBSD.org