cvs commit: src/sys/vm swap_pager.c vm_pageout.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 19 23:04:04 PDT 2008


dillon      2008/03/19 23:02:50 PDT

DragonFly src repository

  Modified files:
    sys/vm               swap_pager.c vm_pageout.c 
  Log:
  Remove calls to pmap_clear_modify() in the swap_pager, fixing a kernel panic.
  The modify bit is cleared by the pageout code's call to vm_page_protect()
  and does not need to be cleared again.
  
  The pmap code cannot safely access non-kernel pmaps from the interrupt
  service routine it uses to process the asynchronous I/O completion.  These
  non-kernel pmaps are present because the pageout code protects the page
  with VM_PROT_READ (which is desireable) rather then VM_PROT_NONE.
  
  Revision  Changes    Path
  1.28      +12 -6     src/sys/vm/swap_pager.c
  1.33      +5 -2      src/sys/vm/vm_pageout.c


http://www.dragonflybsd.org/cvsweb/src/sys/vm/swap_pager.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.32&r2=1.33&f=u





More information about the Commits mailing list