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

git: kernel - Acquire vm_token in pmap_remove_all() (2)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Oct 2012 22:10:49 -0700 (PDT)

commit 2160c64a7b9dd171e554291a062b232251443c53
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Oct 4 22:09:30 2012 -0700

    kernel - Acquire vm_token in pmap_remove_all() (2)
    
    * Remove this, the token is already acquired in all pmap_remove_all()
      paths.
    
    * Instead, try catching the problem in pmap_remove_all(m) by re-validating
      the pv_entry (essentially detecting a removal race).

Summary of changes:
 sys/platform/pc32/i386/pmap.c |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2160c64a7b9dd171e554291a062b232251443c53


-- 
DragonFly BSD source repository



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