summaryrefslogtreecommitdiff
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-09-28 14:57:50 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-09-28 14:57:50 +0000
commitabb9b935ca33fe016fa96582e165e67ed5f4dfd8 (patch)
tree6a5296fc970ddac679f37c4f859ef750f1173a7e /sys/vm/vm_fault.c
parent7778ab7e0cc22f0824eb1d1047a7ef8b4785267a (diff)
downloadsrc-test2-abb9b935ca33fe016fa96582e165e67ed5f4dfd8.tar.gz
src-test2-abb9b935ca33fe016fa96582e165e67ed5f4dfd8.zip
Notes
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 1b8ac2fef17b..8c98b26a0146 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -1090,18 +1090,10 @@ vm_fault_quick_hold_pages(vm_map_t map, vm_offset_t addr, vm_size_t len,
* performed through an unmanaged mapping or by a DMA
* operation.
*
- * The object lock is not held here. Therefore, like
- * a pmap operation, the page queues lock may be
- * required in order to call vm_page_dirty(). See
- * vm_page_clear_dirty_mask().
+ * The object lock is not held here.
+ * See vm_page_clear_dirty_mask().
*/
-#if defined(__amd64__) || defined(__i386__) || defined(__ia64__)
vm_page_dirty(*mp);
-#else
- vm_page_lock_queues();
- vm_page_dirty(*mp);
- vm_page_unlock_queues();
-#endif
}
}
if (pmap_failed) {