From owner-freebsd-current@FreeBSD.ORG Thu Mar 4 20:29:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1237E16A4CF; Thu, 4 Mar 2004 20:29:21 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD19843D41; Thu, 4 Mar 2004 20:29:20 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i254S4DL060687; Thu, 4 Mar 2004 23:28:04 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i254S4jm060684; Thu, 4 Mar 2004 23:28:04 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Thu, 4 Mar 2004 23:28:04 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Alan L. Cox" In-Reply-To: <4047F3F8.1080207@imimic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: alc@freebsd.org cc: Nate Lawson cc: current@freebsd.org cc: Marcel Moolenaar Subject: Re: bug in vm_contig.c? [was: Re: ACPI crash with recent changes] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 04:29:21 -0000 On Thu, 4 Mar 2004, Alan L. Cox wrote: > Please test the attached patch instead. In order to avoid a race > condition, it is necessary for the loop to begin with "start" rather > than "start + 1". What is both unnecessary and wrong is the physical > contiguity check. (My bad. :-() In other words, the test that the page > is still free must be repeated because of the dropping of the free page > queue lock, but contiguity once true is always true. Using this patch, my testbox boots just fine. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research > > Regards, > Alan > >