Date: Sun, 2 Dec 2007 15:26:30 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/arm/arm pmap.c Message-ID: <200712021526.lB2FQUGf099677@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cognet 2007-12-02 15:26:30 UTC FreeBSD src repository Modified files: sys/arm/arm pmap.c Log: 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> MFC After: 3 days Revision Changes Path 1.90 +5 -5 src/sys/arm/arm/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712021526.lB2FQUGf099677>