git: DragonFly_RELEASE_4_0 vkernel64 - Fix pmap panic
dillon at crater.dragonflybsd.org
Thu Nov 27 23:00:58 PST 2014
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(-)
DragonFly BSD source repository
More information about the Commits