r323412: Panic on boot (slab->us_keg == keg)

Raphael Kubo da Costa rakuco at FreeBSD.org
Tue Sep 12 08:34:08 UTC 2017


Mark Johnston <markj at FreeBSD.org> writes:

> I think the bug is that keg_large_init() doesn't take
> sizeof(struct uma_slab) into account when setting uk_ppera for the keg.
> In particular, the bug isn't specific to the bootup process; it only
> affects internal zones with an item size in the range [4016, 4096].
>
> The patch below should fix this - could you give it a try?

I've tried it and can confirm it fixed the panic here.


More information about the freebsd-current mailing list