git: vkernel64 - Fix pmap panic

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Nov 27 23:00:29 PST 2014


commit 685f4bf52c55bbbb55a83a75bf706e112a862dec
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Nov 27 22:57:36 2014 -0800

    vkernel64 - Fix pmap panic
    
    * Fix a pmap panic complaining about the pm_active cpumask not being zero
      when the pmap is released/destroyed.
    
    * The vkernel64 swtch code was improperly setting the active bits from
      the gd_other_cpus field instead of the gd_cpumask field, which wound
      up setting lots of bits instead of the one bit we wanted to set.
    
    * Long-known bug was difficult to reproduce consistently enough to
      locate until Robert found a quick way.
    
    Reproduced-by: Robert Garrett

Summary of changes:
 sys/platform/vkernel64/platform/pmap.c | 58 ++++++++++++++++++++--------------
 sys/platform/vkernel64/x86_64/swtch.s  | 12 ++++---
 2 files changed, 42 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/685f4bf52c55bbbb55a83a75bf706e112a862dec


-- 
DragonFly BSD source repository



More information about the Commits mailing list