DragonFly commits List (threaded) for 2008-03
DragonFly BSD
DragonFly commits List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Mar 2008 23:02:50 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]