Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2006 03:12:47 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 99847 for review
Message-ID:  <200606230312.k5N3ClgW044944@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99847

Change 99847 by jhb@jhb_mutex on 2006/06/23 03:12:40

	Oops, remember to skip to the next page if a page is blacklisted.

Affected files ...

.. //depot/projects/smpng/sys/vm/vm_page.c#77 edit

Differences ...

==== //depot/projects/smpng/sys/vm/vm_page.c#77 (text+ko) ====

@@ -339,13 +339,11 @@
 		last_pa = phys_avail[i + 1];
 		while (pa < last_pa && npages-- > 0) {
 			if (list != NULL &&
-			    vm_page_blacklist_lookup(list, pa)) {
+			    vm_page_blacklist_lookup(list, pa))
 				printf("Skipping page with pa 0x%jx\n",
 				    (uintmax_t)pa);
-
-				continue;
-			}
-			vm_pageq_add_new_page(pa);
+			else
+				vm_pageq_add_new_page(pa);
 			pa += PAGE_SIZE;
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606230312.k5N3ClgW044944>