git: DragonFly_RELEASE_4_0 vkernel64 - Fix pmap panic

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


commit 83940de710e8ecb6d09a418df81a64b08b87a2a4
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/83940de710e8ecb6d09a418df81a64b08b87a2a4


-- 
DragonFly BSD source repository



More information about the Commits mailing list