diff options
author | alc <alc@FreeBSD.org> | 1999-08-17 18:09:01 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 1999-08-17 18:09:01 +0000 |
commit | eacdecd413d07e7d0b0a3af3c0fd03c4564237d3 (patch) | |
tree | b79d58e37fb10c62e5859e8cc1350327d1a82ac6 /sys/vm/vm_page.c | |
parent | 69ab84d0b3235628f1a0921b3208fcee2f13c1ea (diff) | |
download | FreeBSD-src-eacdecd413d07e7d0b0a3af3c0fd03c4564237d3.zip FreeBSD-src-eacdecd413d07e7d0b0a3af3c0fd03c4564237d3.tar.gz |
vm_page_free_toq:
Update the comment to reflect the demise of PQ_ZERO and
remove a (now) useless test.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 74117de..2065ded 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.138 1999/08/11 05:12:00 alc Exp $ + * $Id: vm_page.c,v 1.139 1999/08/17 05:08:39 alc Exp $ */ /* @@ -1060,7 +1060,7 @@ vm_page_free_wakeup() /* * vm_page_free_toq: * - * Returns the given page to the PQ_FREE or PQ_ZERO list, + * Returns the given page to the PQ_FREE list, * disassociating it with any VM object. * * Object and page must be locked prior to entry. @@ -1163,14 +1163,6 @@ vm_page_free_toq(vm_page_t m) if (m->flags & PG_ZERO) { TAILQ_INSERT_TAIL(pq->pl, m, pageq); ++vm_page_zero_count; - } else if (curproc == pageproc) { - /* - * If the pageout daemon is freeing pages, the pages are - * likely to NOT be in the L1 or L2 caches due to their age. - * For now we do not try to do anything special with this - * info. - */ - TAILQ_INSERT_HEAD(pq->pl, m, pageq); } else { TAILQ_INSERT_HEAD(pq->pl, m, pageq); } |