kmalloc_slab mgt field unused
James Cook <[email protected]> Tue, 18 May 2021 22:53:52 +0000
| Newsgroups | gmane.os.dragonfly-bsd.kernel |
|---|---|
| Message-ID | <[email protected]> |
A kernel with the below change is working for me.
diff --git a/sys/sys/_malloc.h b/sys/sys/_malloc.h
index 37fcb0e18d..3b40725d47 100644
--- a/sys/sys/_malloc.h
+++ b/sys/sys/_malloc.h
@@ -70,7 +70,6 @@ struct kmalloc_slab {
__size_t findex; /* end of frees */
__size_t xindex; /* synchronizer */
exislock_t exis; /* existential lock state */
- struct kmalloc_mgt *mgt;
__uint64_t bmap[(KMALLOC_SLAB_MAXOBJS + 63) / 64];
void *fobjs[1]; /* list of free objects */
} __cachealign;
--
James