Remove calls to pmap_clear_modify() in the swap_pager, fixing a kernel panic.
commit2e2d4f7cd04a9eb772fb379e2c06fe80fdb1aa45
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 20 Mar 2008 06:02:50 +0000 (20 06:02 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 20 Mar 2008 06:02:50 +0000 (20 06:02 +0000)
tree758433bb4079c6311fd6cdd4a8d8cd4d749654f9
parent3a9fe36512f4df3dd92528ff489c82a889f99d41
Remove calls to pmap_clear_modify() in the swap_pager, fixing a kernel panic.
The modify bit is cleared by the pageout code's call to vm_page_protect()
and does not need to be cleared again.

The pmap code cannot safely access non-kernel pmaps from the interrupt
service routine it uses to process the asynchronous I/O completion.  These
non-kernel pmaps are present because the pageout code protects the page
with VM_PROT_READ (which is desireable) rather then VM_PROT_NONE.
sys/vm/swap_pager.c
sys/vm/vm_pageout.c