Re: panic: mb_dtor_pack: ref_cnt != 1

From: Giorgos Keramidas <keramida_at_linux.gr>
Date: Sat, 5 Nov 2005 14:52:07 +0200
On 2005-11-05 11:49, Gleb Smirnoff <glebius_at_FreeBSD.org> wrote:
> One more update. Since I have removed this block:
>
>                        if (*(m->m_ext.ref_cnt) == 0)
>                                *(m->m_ext.ref_cnt) = 1;
>
> I have also altered KASSERT in mb_dtor_pack(). I don't like
> inventing an incorrect invariant check and then adding helpers
> to avoid it being triggered.
>
> [--- mbuma.patch ---]

Very nice, thanks!  I'll build the next kernel with the updated patch,
later today.
Received on Sat Nov 05 2005 - 11:52:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC