Page MenuHomeFreeBSD

D21953.id63091.diff
No OneTemporary

D21953.id63091.diff

Index: sys/kern/subr_vmem.c
===================================================================
--- sys/kern/subr_vmem.c
+++ sys/kern/subr_vmem.c
@@ -466,6 +466,7 @@
bt_remseg(vmem_t *vm, bt_t *bt)
{
+ MPASS(bt->bt_type != BT_TYPE_CURSOR);
TAILQ_REMOVE(&vm->vm_seglist, bt, bt_seglist);
bt_free(vm, bt);
}
@@ -843,6 +844,7 @@
VMEM_LOCK(vm);
MPASS(vm->vm_nbusytag == 0);
+ TAILQ_REMOVE(&vm->vm_seglist, &vm->vm_cursor, bt_seglist);
while ((bt = TAILQ_FIRST(&vm->vm_seglist)) != NULL)
bt_remseg(vm, bt);

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 9:23 AM (11 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15603292
Default Alt Text
D21953.id63091.diff (524 B)

Event Timeline