Date: Fri, 9 Jul 2010 20:05:56 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h src/sys/i386/i386 pmap.c src/sys/i386/include pmap.h Message-ID: <201007092006.o69K6KW6098886@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-07-09 20:05:56 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h sys/i386/i386 pmap.c sys/i386/include pmap.h Log: SVN rev 209862 on 2010-07-09 20:05:56Z by kib For both i386 and amd64 pmap, - change the type of pm_active to cpumask_t, which it is; - in pmap_remove_pages(), compare with PCPU(curpmap), instead of dereferencing the long chain of pointers [1]. For amd64 pmap, remove the unneeded checks for validity of curpmap in pmap_activate(), since curpmap should be always valid after r209789. Submitted by: alc [1] Reviewed by: alc MFC after: 3 weeks Revision Changes Path 1.707 +1 -3 src/sys/amd64/amd64/pmap.c 1.154 +1 -1 src/sys/amd64/include/pmap.h 1.687 +1 -1 src/sys/i386/i386/pmap.c 1.145 +1 -1 src/sys/i386/include/pmap.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007092006.o69K6KW6098886>