git: kernel - Handle pmap_protect() race in pmap code

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Oct 26 14:56:20 PDT 2011


commit f2c5d4ab43eb3300236045f944aa0021db095c53
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Oct 26 14:46:52 2011 -0700

    kernel - Handle pmap_protect() race in pmap code
    
    * If we find an unexpectedly non-NULL pte_pv from a pv_find(), which only
      holds the pv, we have to resolve a locked pte_pv to rectify the race.
      Add debug code to catch and rectify the situation.

Summary of changes:
 sys/platform/pc64/x86_64/pmap.c |   68 ++++++++++++++++++++++++++++++--------
 1 files changed, 53 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f2c5d4ab43eb3300236045f944aa0021db095c53


-- 
DragonFly BSD source repository





More information about the Commits mailing list