One more use for vm_pageout_init_marker().

Reviewed by:	alc
This commit is contained in:
Konstantin Belousov 2010-05-07 18:57:26 +00:00
parent 7251782989
commit af4b86b949

View File

@ -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