diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-14 10:31:13 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-08-15 13:08:49 +0200 |
commit | 3b7d2320a0ed2e9067f724cfec658bd43e4bd65e (patch) | |
tree | 88404a07a6f7479c4c8f7fdb7c2b0073d78bd881 /vm/vm_resident.c | |
parent | a9462a58ab1cbc0812715038539fbd96a8c0e2fe (diff) |
the object is locked, i checkedpmm-2015-08-15
Diffstat (limited to 'vm/vm_resident.c')
-rw-r--r-- | vm/vm_resident.c | 3 |
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); |