https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276057
--- Comment #6 from Donn Seeley <d...@xmission.com> --- (In reply to Konstantin Belousov from comment #4) Of course I realized that there would still be a problem when omitting mtx_destroy() almost immediately after I posted my reply. D'oh. I've been staring at the Linux xarray code and the i915kms driver, trying to figure out a good way to handle this issue. I could change the i915kms driver to avoid calling xa_destroy() in guc_init_lrc_mapping() on FreeBSD, but then I would need to be sure that we _do_ call xa_destroy() when the driver finally does free the xarray. I'll look at this in my spare time and I'll see if there's a reasonable solution. -- You are receiving this mail because: You are the assignee for the bug.