Date: Sun, 29 Aug 2010 05:39:21 +0000 (UTC) From: "Jayachandran C." <jchandra@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/include pmap.h src/sys/mips/mips pmap.c Message-ID: <201008290539.o7T5dZD8022906@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jchandra 2010-08-29 05:39:21 UTC
FreeBSD src repository
Modified files:
sys/mips/include pmap.h
sys/mips/mips pmap.c
Log:
SVN rev 211958 on 2010-08-29 05:39:21Z by jchandra
Apply MIPS pmap clean up patch from alc@ (with minor change to KASSERT):
PMAP_DIAGNOSTIC was eliminated from amd64/i386, and, in fact, the
non-MIPS parts of the kernel, several years ago. Any of the interesting
checks were turned into KASSERT()s. Basically, the motivation was that
lots of people run with INVARIANTS but no one runs with DIAGNOSTIC.
panic strings needn't and shouldn't have a terminating newline.
Finally, there is one functional change. The sched_pin() in
pmap_remove_pages() is an artifact of the way we temporarily map page
table pages on i386. (The mappings are processor private. We don't do
a system-wide shootdown.) It isn't needed by MIPS.
Tested by: jchandra
Submitted by: alc
Revision Changes Path
1.20 +0 -5 src/sys/mips/include/pmap.h
1.81 +14 -62 src/sys/mips/mips/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008290539.o7T5dZD8022906>
