diff options
author | alc <alc@FreeBSD.org> | 2002-07-31 18:46:47 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-07-31 18:46:47 +0000 |
commit | cf35cc4c684ae09caa3774b8e8971b0a1adfe19a (patch) | |
tree | 3c4a9d1cb111e7e2e2d922cb319eee4604c84a55 /sys/netinet/tcp_syncache.c | |
parent | ab8cfd574b1557da138fc0fc0952df4eb07f19e9 (diff) | |
download | FreeBSD-src-cf35cc4c684ae09caa3774b8e8971b0a1adfe19a.zip FreeBSD-src-cf35cc4c684ae09caa3774b8e8971b0a1adfe19a.tar.gz |
o Setting PG_MAPPED and PG_WRITEABLE on pages that are mapped and unmapped
by pmap_qenter() and pmap_qremove() is pointless. In fact, it probably
leads to unnecessary pmap_page_protect() calls if one of these pages is
paged out after unwiring.
Note: setting PG_MAPPED asserts that the page's pv list may be
non-empty. Since checking the status of the page's pv list isn't any
harder than checking this flag, the flag should probably be eliminated.
Alternatively, PG_MAPPED could be set by pmap_enter() exclusively
rather than various places throughout the kernel.
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
0 files changed, 0 insertions, 0 deletions