PERFORCE change 42609 for review
Peter Wemm
peter at FreeBSD.org
Sun Nov 16 17:44:12 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=42609
Change 42609 by peter at peter_overcee on 2003/11/16 17:43:19
duplicate the bandaid for the smp case too.
Affected files ...
.. //depot/projects/hammer/sys/amd64/amd64/pmap.c#43 edit
Differences ...
==== //depot/projects/hammer/sys/amd64/amd64/pmap.c#43 (text+ko) ====
@@ -3004,6 +3004,7 @@
pmap = vmspace_pmap(td->td_proc->p_vmspace);
oldpmap = PCPU_GET(curpmap);
#ifdef SMP
+if (oldpmap) /* XXX FIXME */
atomic_clear_int(&oldpmap->pm_active, PCPU_GET(cpumask));
atomic_set_int(&pmap->pm_active, PCPU_GET(cpumask));
#else
More information about the p4-projects
mailing list