]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r209862:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 Oct 2010 17:56:51 +0000 (17:56 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 Oct 2010 17:56:51 +0000 (17:56 +0000)
commitd96a5abc31996c5ec506d3b2c8810d2f2ab54c65
tree040dc7d6d3437700a70c7cddebacb476ca0b032c
parent7411d602ea758216c53e3e855e5c58679c763aa2
MFC r209862:
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@213901 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/pmap.c
sys/amd64/include/pmap.h
sys/i386/i386/pmap.c
sys/i386/include/pmap.h