[BACK]Return to uvm_aobj.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / uvm

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/uvm/uvm_aobj.c between version 1.37 and 1.38

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();

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

CVSweb <webmaster@jp.NetBSD.org>