[Bug 261166] LinuxKPI kernel panics: mi _switch: switch in a critical section – 14. 0-CURRENT main-n252381-75d20a5e386 (2022-01-1 1)

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166

--- Comment #13 from Graham Perrin <[email protected]> ---
Another commit in branch main references this bug:

<https://github.com/freebsd/freebsd-src/commit/02ea6033020e11afec6472bf560b0ddebd0fa97a>

<https://cgit.freebsd.org/src/commit/?id=02ea6033020e11afec6472bf560b0ddebd0fa97a>

author    Vladimir Kondratyev <wulf@𡀦…> 2022-01-18 20:14:12 +0000
committer Vladimir Kondratyev <wulf@…>  2022-01-18 20:14:12 +0000
commit    02ea6033020e11afec6472bf560b0ddebd0fa97a 

LinuxKPI: Allow spin_lock_irqsave to be called within a critical section with
spinning on spin_trylock. dma-buf part of drm-kmod depends on this property and
absence of it support results in "mi_switch: switch in a critical section"
assertions [1][2].

[1] https://github.com/freebsd/drm-kmod/issues/116
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261166

MFC after:      1 week
Reviewed by:    manu
Differential Revision:  https://reviews.freebsd.org/D33887

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.