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 
  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


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