summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-14 10:31:13 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-15 13:08:49 +0200
commit3b7d2320a0ed2e9067f724cfec658bd43e4bd65e (patch)
tree88404a07a6f7479c4c8f7fdb7c2b0073d78bd881 /vm
parenta9462a58ab1cbc0812715038539fbd96a8c0e2fe (diff)
the object is locked, i checkedpmm-2015-08-15
Diffstat (limited to 'vm')
-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 552b0d7..aa99e61 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -523,6 +523,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(
@@ -551,7 +553,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);