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

cvs commit: src/sys/vm


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Sep 2004 03:02:12 -0700 (PDT)

dillon      2004/09/17 03:02:12 PDT

DragonFly src repository

  Modified files:
    sys/vm               vm_object.c vm_page.c 
  Log:
  Fix a number of races.  First, retain PG_BUSY through a vm_page_remove(),
  allowing it to be held atomically through a vm_page_rename() and
  through most of a vm_page_free_toq() call.  Before vm_page_remove() unbusy'd
  the page, leading to possible races and definite future issues.
  
  Use a critical section instead of splvm() for critical VM page operations,
  to protect against IPIs.
  
  In-discussion-with: David Rhodus
  
  Revision  Changes    Path
  1.19      +1 -0      src/sys/vm/vm_object.c
  1.26      +52 -47    src/sys/vm/vm_page.c


http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_object.c.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_page.c.diff?r1=1.25&r2=1.26&f=u



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