From owner-freebsd-smp Fri Mar 29 8:52: 1 2002 Delivered-To: freebsd-smp@freebsd.org Received: from 12-234-96-171.client.attbi.com (12-234-96-171.client.attbi.com [12.234.96.171]) by hub.freebsd.org (Postfix) with ESMTP id 3C22637B400; Fri, 29 Mar 2002 08:51:56 -0800 (PST) Received: by 12-234-96-171.client.attbi.com (Postfix, from userid 1000) id A38E05E51; Fri, 29 Mar 2002 08:50:56 -0800 (PST) Date: Fri, 29 Mar 2002 08:50:56 -0800 From: Jon Mini To: John Baldwin Cc: freebsd-smp@FreeBSD.ORG Subject: Re: [PATCH] Hold PROC lock while accessing proc's pargs Message-ID: <20020329085056.B413@stylus.haikugeek.com> References: <20020329031413.A413@stylus.haikugeek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jhb@FreeBSD.ORG on Fri, Mar 29, 2002 at 11:33:50AM -0500 Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin [jhb@FreeBSD.ORG] wrote : > > > This patch does that: > > > > http://www.haikugeek.com/freebsd/pargs.diff > > You don't need PROC_LOCK for p_comm, so you can drop it prior to the > sbuf_printf. Ahh. Changed. -- Jonathan Mini mini@haikugeek.com Yersterday, I was ashamed of myself. Today, I am just hungry. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message