Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 2024 23:49:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 276057] crash in xa_destroy() while initializing the i915kms module
Message-ID:  <bug-276057-227-aZjZwKFAb9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276057-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276057-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276057

--- Comment #6 from Donn Seeley <donn@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 dri=
ver
to avoid calling xa_destroy() in guc_init_lrc_mapping() on FreeBSD, but the=
n 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276057-227-aZjZwKFAb9>