diff options
author | kib <kib@FreeBSD.org> | 2010-05-07 18:57:26 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-05-07 18:57:26 +0000 |
commit | 9dae33e9a6c4641d10e6bd125ca2b6bbcab85f50 (patch) | |
tree | ba9c76e9a525394522d30942b2a4f05f2f8a2591 | |
parent | 3e71fc19c6fb2fa393e610a790ff6bb2fecb8e6c (diff) | |
download | FreeBSD-src-9dae33e9a6c4641d10e6bd125ca2b6bbcab85f50.zip FreeBSD-src-9dae33e9a6c4641d10e6bd125ca2b6bbcab85f50.tar.gz |
One more use for vm_pageout_init_marker().
Reviewed by: alc
-rw-r--r-- | sys/vm/vm_pageout.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index a84b6d4..0524193 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -765,14 +765,7 @@ vm_pageout_scan(int pass) */ page_shortage = vm_paging_target() + addl_page_shortage_init; - /* - * Initialize our marker - */ - bzero(&marker, sizeof(marker)); - marker.flags = PG_FICTITIOUS | PG_MARKER; - marker.oflags = VPO_BUSY; - marker.queue = PQ_INACTIVE; - marker.wire_count = 1; + vm_pageout_marker_init(&marker, PQ_INACTIVE); /* * Start scanning the inactive queue for pages we can move to the |