HelenOS sources

badness           623 kernel/generic/src/mm/slab.c 	while (badness(cache) > SLAB_MAX_BADNESS(cache))
badness           629 kernel/generic/src/mm/slab.c 	if (badness(cache) > sizeof(slab_t))
HelenOS homepage, sources at GitHub