1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

- Assert that every page found in the active queue is an active page.

This commit is contained in:
Alan Cox 2003-10-22 03:08:24 +00:00
parent 923959c28f
commit d3c09dd7db
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121321

View File

@ -1033,13 +1033,8 @@ vm_pageout_scan(int pass)
while ((m != NULL) && (pcount-- > 0) && (page_shortage > 0)) {
/*
* This is a consistency check, and should likely be a panic
* or warning.
*/
if (m->queue != PQ_ACTIVE) {
break;
}
KASSERT(m->queue == PQ_ACTIVE,
("vm_pageout_scan: page %p isn't active", m));
next = TAILQ_NEXT(m, pageq);
/*