Re: panic at vm_page_wire with FreeBSD 9.0 Beta 3

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Fri, 4 Nov 2011 18:03:39 +0200
On Fri, Nov 04, 2011 at 10:48:45AM -0500, Alan Cox wrote:
> On 11/04/2011 10:30, Kostik Belousov wrote:
> >  	for (b = i = 0; i<= PAGE_SIZE / DEV_BSIZE; ++i) {
> >  		if (i == (PAGE_SIZE / DEV_BSIZE) ||
> >-		    (m->valid&  (1<<  i))
> >+		    (m->valid&  ((vm_page_bits_t)1<<  i))
> >  		) {
> >  			if (i>  b) {
> >  				pmap_zero_page_area(m,
> 
> While we're here, we might as well fix the old style bug above by moving 
> the ") {" to the proper place.

Fixed, this does not warrant the universe restart.

Received on Fri Nov 04 2011 - 15:03:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC