Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 23:09:41 GMT
From:      Alan Cox <alc@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 90653 for review
Message-ID:  <200601292309.k0TN9fWG007226@repoman.freebsd.org>

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

Change 90653 by alc@alc_home on 2006/01/29 23:09:28

	Use the new page queue macros.  There are no functional changes.
	
	Reviewed by:	md5

Affected files ...

.. //depot/projects/superpages/src/sys/vm/vm_buddy.c#11 edit

Differences ...

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

@@ -336,7 +336,7 @@
 					m = phys_to_vm_page(pa);
 					if (m == NULL ||
 					    m->buddyq != BUDDY_QUEUES - 1 ||
-					    (m->queue - m->buddyq) != PQ_FREE)
+					    !VM_PAGE_INQUEUE1(m, PQ_FREE))
 						break;
 				}
 				/* If not, continue to the next block. */



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