From owner-freebsd-current Fri Jan 19 0:43:51 2001 Delivered-To: freebsd-current@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 4104537B402; Fri, 19 Jan 2001 00:43:30 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.1/8.9.3) with ESMTP id f0J8ctL75908; Fri, 19 Jan 2001 00:38:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <81448.979893252@critter> Date: Fri, 19 Jan 2001 00:41:12 -0800 (PST) From: John Baldwin To: Poul-Henning Kamp Subject: Re: HEADS-UP: await/asleep removal imminent Cc: (Peter Wemm) , (Alfred Perlstein) , current@FreeBSD.org, arch@FreeBSD.org, rjesup@wgate.com, Soren Schmidt Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 19-Jan-01 Poul-Henning Kamp wrote: > In message , John Baldwin writes: >> >>This is _not_ true. My quad xeon test box runs a pure source tree, and has >>not >>had a single problem building many worlds and releases since the fix to >>atomic_store_rel_ptr(). > > How many disks are active when you build world on that box ? Just one. I don't have any boxes actually with lots of disks in them. Details like this would be helpful though. I'll see if I can't find someone to rummage together a vinum stripe to build on or some such. However, after thinking some more, even in a preemptive kernel, Giant will protect against the *strategy() race you brought up, because we won't get a context switch in kernel mode that releases Giant until either we exit the kernel or we call tsleep(). The interrupt handler will block on Giant when its thread runs, so it won't run until the top half finishes and returns. Does that make sense? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message