cvs commit: src/sys/alpha/include param.h pmap.h
gallatin at FreeBSD.org
Sat Mar 29 10:22:32 PST 2003
gallatin 2003/03/29 10:22:30 PST
FreeBSD src repository
sys/alpha/include param.h pmap.h
Fix the osf1 abi module on SMP systems by making the size of
a struct pmap be the same on both SMP and UP kernels.
It turns out that the size of a struct pmap is much larger on alpha
SMP systems due to the number of pm_asn's being dependant on MAX_CPU.
Since modules are supposed to be SMP agnostic, this has the affect of
moving around the "interesting bits" of the vmspace (daddr, dsize)
that the osf1 module wants to frob. So the module ends up scribbling in a
pmap struct, and the user either sees a panic, or an application failure.
While here, I've also shrunk MAXCPU to 8 now that it affects the size
of pmap structs on UP systesm. This should be plenty, as I'm
unware of any hardware we currently run in which supports more than 8
Revision Changes Path
1.30 +2 -1 src/sys/alpha/include/param.h
1.22 +1 -1 src/sys/alpha/include/pmap.h
More information about the cvs-src