From owner-freebsd-smp Wed Mar 27 11:20:20 2002 Delivered-To: freebsd-smp@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id C7F2A37B421 for ; Wed, 27 Mar 2002 11:20:08 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020327192007.JXFY2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Wed, 27 Mar 2002 19:20:07 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA47943; Wed, 27 Mar 2002 11:05:55 -0800 (PST) Date: Wed, 27 Mar 2002 11:05:55 -0800 (PST) From: Julian Elischer To: Jon Mini Cc: freebsd-smp@freebsd.org Subject: Re: Patch to "Lock struct pargs" In-Reply-To: <20020426213214.B405@stylus.haikugeek.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 BTW struct pargs { - u_int ar_ref; /* Reference count. */ - u_int ar_length; /* Length. */ - u_char ar_args[0]; /* Arguments. */ + u_int ar_ref; /* Reference count. */ + u_int ar_length; /* Length. */ + u_char ar_args[0]; /* Arguments. */ }; style(9) says that you should use 2 tabs only if you need to.. the original is fine, because u_char fits in 1 tab.. On Fri, 26 Apr 2002, Jon Mini wrote: > The patch below locks the process argument (struct pargs) reference > count with a mutex: > > http://people.freebsd.org/~imp/smp.pargs.diff > > Please commit. > > Thanks, > -- > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message