diff options
author | alc <alc@FreeBSD.org> | 2009-05-04 06:30:00 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2009-05-04 06:30:00 +0000 |
commit | ae69828ed02fe50980a57116010a5c4f31d7d62c (patch) | |
tree | 4394026d3ce2abc7e285948183dd7ab23ea16a2e /sys/vm | |
parent | a200645766d267fb787a7d7cc9b875bf668cd8f5 (diff) | |
download | FreeBSD-src-ae69828ed02fe50980a57116010a5c4f31d7d62c.zip FreeBSD-src-ae69828ed02fe50980a57116010a5c4f31d7d62c.tar.gz |
Eliminate vnode_pager_input_smlfs()'s pointless call to pmap_clear_modify().
The page can't possibly have any modified page table entries because it
isn't even mapped.
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vnode_pager.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index 63dc148..19c2c33 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -559,9 +559,6 @@ vnode_pager_input_smlfs(object, m) } } sf_buf_free(sf); - vm_page_lock_queues(); - pmap_clear_modify(m); - vm_page_unlock_queues(); if (error) { return VM_PAGER_ERROR; } |