[Bug 276057] crash in xa_destroy() while initializing the i915kms module

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Jan 2024 19:10:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276057

--- Comment #9 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Donn Seeley from comment #8)
MTX_NEW suppresses the check that the mutex memory is zeroed (in reality it is
less smart, but lets pretend).

You can do mtx_init()/mtx_destroy()/mtx_init() as much as you want.
You should not do mtx_init() and then unload the module, or
mtx_init()/mtx_init().

-- 
You are receiving this mail because:
You are the assignee for the bug.