--- Gnu-Mach/kern/slab.h 2020/09/02 04:52:02 1.1.1.4 +++ Gnu-Mach/kern/slab.h 2020/09/02 04:54:07 1.1.1.5 @@ -56,6 +56,8 @@ #include #include +struct kmem_cache; + #if SLAB_USE_CPU_POOLS /* @@ -117,6 +119,7 @@ struct kmem_buftag { * Page-aligned collection of unconstructed buffers. */ struct kmem_slab { + struct kmem_cache *cache; struct list list_node; struct rbtree_node tree_node; unsigned long nr_refs;