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

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 13 Sep 2017 08:47:13 -0700
On Tue, Sep 12, 2017 at 10:34:00AM +0200, Raphael Kubo da Costa wrote:
> 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.

Thanks, committed as r323544.
Received on Wed Sep 13 2017 - 13:47:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC