mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 23:28:57 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141068
@ -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