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

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Oct 4 22:10:49 PDT 2012


commit 2160c64a7b9dd171e554291a062b232251443c53
Author: Matthew Dillon <dillon at 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



More information about the Commits mailing list