Re: bug in vm_contig.c? [was: Re: ACPI crash with recent changes]

From: Robert Watson <rwatson_at_freebsd.org>
Date: Thu, 4 Mar 2004 23:28:04 -0500 (EST)
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_at_fledge.watson.org      Senior Research Scientist, McAfee Research


> 
> Regards,
> Alan
> 
> 
Received on Thu Mar 04 2004 - 19:29:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:46 UTC