summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-05-16 23:45:10 +0000
committeralc <alc@FreeBSD.org>2010-05-16 23:45:10 +0000
commitf6c07c5b87dfdddf4b4438ac3df38c4c83125281 (patch)
tree5d19152403395b71d9fe26760d1b05201ce13b02 /sys/modules
parent9090794d6cc9b8867376522131d6ff69824038a7 (diff)
downloadFreeBSD-src-f6c07c5b87dfdddf4b4438ac3df38c4c83125281.zip
FreeBSD-src-f6c07c5b87dfdddf4b4438ac3df38c4c83125281.tar.gz
On entry to pmap_enter(), assert that the page is busy. While I'm
here, make the style of assertion used by pmap_enter() consistent across all architectures. On entry to pmap_remove_write(), assert that the page is neither unmanaged nor fictitious, since we cannot remove write access to either kind of page. With the push down of the page queues lock, pmap_remove_write() cannot condition its behavior on the state of the PG_WRITEABLE flag if the page is busy. Assert that the object containing the page is locked. This allows us to know that the page will neither become busy nor will PG_WRITEABLE be set on it while pmap_remove_write() is running. Correct a long-standing bug in vm_page_cowsetup(). We cannot possibly do copy-on-write-based zero-copy transmit on unmanaged or fictitious pages, so don't even try. Previously, the call to pmap_remove_write() would have failed silently.
Diffstat (limited to 'sys/modules')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud