Lines Matching refs:pageout

164 #define	VM_PAGE_LAUNDRY_MAX	128UL	/* maximum pageouts on a given pageout queue */
213 * The pageout daemon uses it to update vm_page_inactive_target.
217 * then the pageout daemon starts running.
225 * Once the pageout daemon starts running, it keeps going
235 * The pageout daemon always starts running once vm_page_free_count
250 * allows the pageout daemon and default pager (and any other
251 * associated threads needed for default pageout) to continue
278 * Exported variable used to broadcast the activation of the pageout scan
334 * These variables record the pageout daemon's actions:
362 unsigned int vm_pageout_cleaned_reclaimed = 0; /* debugging; how many cleaned pages are reclaimed by the pageout scan */
363 unsigned int vm_pageout_cleaned_reactivated = 0; /* debugging; how many cleaned pages are found to be referenced on pageout (and are therefore reactivated) */
499 * Deal with the deallocation (last reference) of a pageout object
504 assert(object->pageout);
515 assert(p->pageout);
516 p->pageout = FALSE;
549 if (m->pageout) {
554 m->pageout = FALSE;
566 * pageout by checking the modify state.
629 * modified during the pageout. Note that we purposefully do
716 new_m->pageout = TRUE;
739 * The page in question must not be on any pageout queues.
774 panic("reservation without pageout?"); /* alan */
799 m->pageout = TRUE;
843 * The page must not be on any pageout queue.
847 vm_pageout_cluster(vm_page_t m, boolean_t pageout)
867 assert(!m->cleaning && !m->pageout && !m->laundry);
878 m->pageout = pageout;
1154 * function in BSD to apply I/O throttle to the pageout thread
1209 * vm_pageout_scan does the dirty work for the pageout daemon.
1292 * for clean pages if the pageout queues don't drain in a timely
1293 * fashion since this may indicate that the pageout paths are
1476 * make sure the pageout I/O threads are running
1674 * 3) Flow control - default pageout queue is full
1734 * the pageout thread for the default pager is potentially
1809 * cause us to pause the pageout scan thread
1814 * before we return, make sure the pageout I/O threads
1863 * stall the pageout scan
2021 * it can't also be on the pageout queue, so safe
2307 panic("\"busy\" page considered for pageout\n");
2330 * if (m->cleaning && !m->pageout)
2340 * if (m->pageout && !m->cleaning)
2348 * if (m->pageout && m->clenaing)
2355 * page with m->pageout and still on the queues means that an
2358 if (m->pageout) {
2493 * a) The external pageout thread is stuck on the truncate lock for a file that is being extended i.e. written.
2498 * a) the external pageout queue is throttled
2502 * since we don't know the reason for the external pageout queue being throttled we
2509 * the deadlock will break, the external pageout queue will empty and it will no longer
2670 * do NOT set the pageout bit!
2725 * back to top of pageout scan loop
2774 * vm_pageout is the high level pageout daemon.
2880 * been put back on the pageout queue), or
2884 * we took when we put the page on the pageout queue
2913 m->pageout = FALSE;
2941 if (m->pageout) {
2986 * any pageout clustering happens there
3065 * been put back on the pageout queue), or
3069 * we took when we put the page on the pageout queue
3085 if (m->pageout) {
3130 * any pageout clustering happens there
3259 m->pageout = FALSE;
3284 if (m->pageout) {
3364 m->pageout = FALSE;
3902 /* internal pageout thread started when default pager registered first time */
3903 /* external pageout and garbage collection threads started here */
4448 * not a pageout object is inserted
4695 upl->map_object->pageout = TRUE;
4935 * we've buddied up a page for a clustered pageout
4936 * that has already been moved to the pageout
4947 * pageout statistics gathering. count
4952 if (dst_page->pageout)
4986 * convenient even for the pageout
5032 dst_page->pageout = TRUE;
5105 dst_page->pageout = FALSE;
5254 * convenient even for the pageout
5324 user_page_list[entry].pageout = dst_page->pageout;
5487 panic("vm_object_super_upl_request: Missed target pageout"
5885 upl->map_object->pageout = TRUE;
5918 alias_page->pageout = TRUE;
6332 t->pageout = FALSE;
6480 m->pageout = FALSE;
6533 if (m->pageout) {
6536 * no longer set the pageout bit. It's pages now go
6541 m->pageout = FALSE;
6549 * the pageout... reactivate it since
6988 t->pageout = FALSE;
7111 m->pageout = FALSE;
7691 user_page_list[entry].pageout = FALSE;
7896 dst_page->pageout = FALSE;
7999 user_page_list[entry].pageout = dst_page->pageout;
8258 * pages it gathers for pageout be encrypted, via the UPL interfaces,
8652 * pageout thread (we won't pagein before there's been a pageout)
8653 * and there's only one pageout thread.
9075 if (upl_object->pageout) {
9762 if(m->pageout) pgopages++;
9779 assert(!m->pageout);
9793 if(m->pageout) pgopages++;
9815 if(m->pageout) pgopages++;