]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r209789
authoralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 Oct 2010 03:23:53 +0000 (03:23 +0000)
committeralc <alc@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 15 Oct 2010 03:23:53 +0000 (03:23 +0000)
commita8b348c173086631a5c2357418ff4de42a0bd2d6
tree87fb94a11a9f91d79ab43acb9758c1a9d4f5b9aa
parent7fbb6e4da054e87605e1309f7101a179909d41b3
MFC r209789
  Correctly maintain the per-cpu field "curpmap" on amd64 just like we
  do on i386.  The consequences of not doing so on amd64 became apparent
  with the introduction of the COUNT_IPIS and COUNT_XINVLTLB_HITS
  options.  Specifically, single-threaded applications were generating
  unnecessary IPIs to shoot-down the TLB on other processors.

MFC r209887
  Reduce the number of global TLB shootdowns generated by pmap_qenter().
  Specifically, teach pmap_qenter() to recognize the case when it is being
  asked to replace a mapping with the very same mapping and not generate
  a shootdown.

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