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

Robert Watson rwatson at freebsd.org
Thu Mar 4 20:29:21 PST 2004


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
> 
> 



More information about the freebsd-current mailing list