Page MenuHomeFreeBSD

D35780.diff
No OneTemporary

D35780.diff

diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -204,6 +204,9 @@
KASSERT(object->type == OBJT_DEAD,
("object %p has non-dead type %d",
object, object->type));
+ KASSERT(object->charge == 0 && object->cred == NULL,
+ ("object %p has non-zero charge %ju (%p)",
+ object, (uintmax_t)object->charge, object->cred));
}
#endif

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 21, 7:10 AM (13 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17239882
Default Alt Text
D35780.diff (406 B)

Event Timeline