diff options
author | alc <alc@FreeBSD.org> | 2010-07-15 16:25:51 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-07-15 16:25:51 +0000 |
commit | 377e76ab8340f9043bd8916b5d175cd01d14e9c4 (patch) | |
tree | 0cdbd89ffa1b03c976c09ac3d65aef9f4a896b12 /release/picobsd | |
parent | d4cce5f67be8873f101ffcc70a71feee8aebf77b (diff) | |
download | FreeBSD-src-377e76ab8340f9043bd8916b5d175cd01d14e9c4.zip FreeBSD-src-377e76ab8340f9043bd8916b5d175cd01d14e9c4.tar.gz |
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
Diffstat (limited to 'release/picobsd')
0 files changed, 0 insertions, 0 deletions