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

git: kernel - Additional fixes for vm_prefault issue


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Jul 2011 23:47:55 -0700 (PDT)

commit 6e9c08674f7055f843113ddf9e181ec05ca764fd
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Jul 17 23:45:11 2011 -0700

    kernel - Additional fixes for vm_prefault issue
    
    * Fix a case where map->timestamp was being tested without holding the
      map lock, which can race.  We now relock the map prior to testing
      map->timestamp.
    
    * Fix a case where map->timestamp was being adjusted with the map lock
      released.
    
    Reported-by: Peter Avalos <peter@theshell.com>

Summary of changes:
 sys/vm/vm_fault.c |   50 +++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 37 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e9c08674f7055f843113ddf9e181ec05ca764fd


-- 
DragonFly BSD source repository



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