cvs commit: src/sys/arm/arm pmap.c
Olivier Houchard
cognet at FreeBSD.org
Fri Dec 7 14:28:49 PST 2007
cognet 2007-12-07 22:28:49 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/arm/arm pmap.c
Log:
MFC rev 1.90:
Fix a potential bug in pmap :
We used to allocate the domains 0-14 for userland, and leave the domain 15
for the kernel. Now supersections requires the use of domain 0, so we
switched the kernel domain to 0, and use 1-15 for userland.
How it's done currently, the kernel domain could be allocated for a
userland process.
So switch back to the previous way we did things, set the first available
domain to 0, and just add 1 to get the real domain number in the struct pmap.
Reported by: Mark Tinguely <tinguely AT casselton DOT net>
Approved by: re (kensmith)
Revision Changes Path
1.86.2.1 +5 -5 src/sys/arm/arm/pmap.c
More information about the cvs-src
mailing list