PERFORCE change 99847 for review

John Baldwin jhb at FreeBSD.org
Fri Jun 23 03:12:49 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=99847

Change 99847 by jhb at 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;
 		}
 	}


More information about the p4-projects mailing list