version 1.37, 2000/11/25 06:27:59 |
version 1.38, 2001/01/28 23:30:42 |
Line 882 uao_flush(uobj, start, stop, flags) |
|
Line 882 uao_flush(uobj, start, stop, flags) |
|
pp->wire_count != 0) |
pp->wire_count != 0) |
continue; |
continue; |
|
|
/* zap all mappings for the page. */ |
|
pmap_page_protect(pp, VM_PROT_NONE); |
|
|
|
/* ...and deactivate the page. */ |
/* ...and deactivate the page. */ |
|
pmap_clear_reference(pp); |
uvm_pagedeactivate(pp); |
uvm_pagedeactivate(pp); |
|
|
continue; |
continue; |
Line 1543 uao_pagein_page(aobj, pageidx) |
|
Line 1541 uao_pagein_page(aobj, pageidx) |
|
* deactivate the page (to put it on a page queue). |
* deactivate the page (to put it on a page queue). |
*/ |
*/ |
pmap_clear_reference(pg); |
pmap_clear_reference(pg); |
pmap_page_protect(pg, VM_PROT_NONE); |
|
uvm_lock_pageq(); |
uvm_lock_pageq(); |
uvm_pagedeactivate(pg); |
uvm_pagedeactivate(pg); |
uvm_unlock_pageq(); |
uvm_unlock_pageq(); |