kmalloc_slab mgt field unused
James Cook
falsifian at falsifian.org
Tue May 18 15:53:52 PDT 2021
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
More information about the Kernel
mailing list