PERFORCE change 90444 for review

Alan Cox alc at FreeBSD.org
Thu Jan 26 18:42:18 PST 2006


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

Change 90444 by alc at alc_home on 2006/01/27 02:42:13

	Utilize the new VM_PAGE_*() macros to minimize the differences with
	HEAD.

Affected files ...

.. //depot/projects/superpages/src/sys/vm/vm_page.c#12 edit

Differences ...

==== //depot/projects/superpages/src/sys/vm/vm_page.c#12 (text+ko) ====

@@ -1233,7 +1233,7 @@
 	if (VM_PAGE_INQUEUE2(m, PQ_INACTIVE))
 		return;
 	if (m->wire_count == 0 && (m->flags & PG_UNMANAGED) == 0) {
-		if (m->queue == PQ_CACHE)
+		if (VM_PAGE_INQUEUE1(m, PQ_CACHE))
 			cnt.v_reactivated++;
 		vm_page_flag_clear(m, PG_WINATCFLS);
 		vm_pageq_remove(m);


More information about the p4-projects mailing list