summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/vm_resident.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c
index 8640412..07ebb1f 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -529,6 +529,8 @@ void vm_page_more_fictitious(void)
* vm_page_convert:
*
* Attempt to convert a fictitious page into a real page.
+ *
+ * The object referenced by *MP must be locked.
*/
boolean_t vm_page_convert(
@@ -559,7 +561,6 @@ boolean_t vm_page_convert(
fict_m->tabled = FALSE;
/* Fix radix tree entry. */
- /* XXX is the object locked? */
slot = rdxtree_lookup_slot(&fict_m->object->memt,
offset_key(fict_m->offset));
old = rdxtree_replace_slot(slot, real_m);