aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2010-07-15 16:25:51 +0000
committerAlan Cox <alc@FreeBSD.org>2010-07-15 16:25:51 +0000
commit7db39bcb050b0467e155066a9de6925ad29da60c (patch)
tree0cdbd89ffa1b03c976c09ac3d65aef9f4a896b12 /release
parent71ad35a185f06a835bdcb6c29c4badc68c4f9b28 (diff)
downloadsrc-7db39bcb050b0467e155066a9de6925ad29da60c.tar.gz
src-7db39bcb050b0467e155066a9de6925ad29da60c.zip
Optimize pmap_remove()'s handling of PG_G mappings. Specifically,
instead of calling pmap_invalidate_page() for each PG_G mapping, call pmap_invalidate_range() for each range of PG_G mappings. In addition, eliminate a redundant call to pmap_invalidate_page(). Both pmap_remove_pte() and pmap_remove_page() called pmap_invalidate_page() when the mapping had the PG_G attribute. Now, only pmap_remove_page() calls pmap_invalidate_page(). Altogether, these changes eliminate 53% of the TLB shootdowns for a "buildworld" on a ZFS file system. On FFS, the reduction is 3%. MFC after: 6 weeks
Notes
Notes: svn path=/head/; revision=210124
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions