Update the text of an assertion to reflect changes made in revision 1.148.
Submitted by: tegge Eliminate an unnecessary, temporary increment of the backing object's reference count in vm_object_qcollapse(). Reviewed by: tegge
This commit is contained in:
parent
9253618760
commit
8e99783b25
@ -1467,7 +1467,7 @@ vm_object_backing_scan(vm_object_t object, int op)
|
||||
|
||||
KASSERT(
|
||||
p->object == backing_object,
|
||||
("vm_object_qcollapse(): object mismatch")
|
||||
("vm_object_backing_scan: object mismatch")
|
||||
);
|
||||
|
||||
/*
|
||||
@ -1551,11 +1551,7 @@ vm_object_qcollapse(vm_object_t object)
|
||||
if (backing_object->ref_count != 1)
|
||||
return;
|
||||
|
||||
backing_object->ref_count += 2;
|
||||
|
||||
vm_object_backing_scan(object, OBSC_COLLAPSE_NOWAIT);
|
||||
|
||||
backing_object->ref_count -= 2;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user