Messages in this thread | | | Date | Fri, 25 Oct 2019 10:27:49 -0700 | From | Davidlohr Bueso <> | Subject | Re: [PATCH -tip] locking/mutex: Complain upon api misuse wrt interrupt context |
| |
On Fri, 25 Oct 2019, Peter Zijlstra wrote: >No real objection, but should not lockdep already complain about this? >__mutex_unlock_slowpath() takes ->wait_lock irq-unsafe, so then using it >from an IRQ should generate an insta IRQ inversion report.
But we still have the unlock fastpath and the trylock scenarios which don't take locks.
Thanks, davidlohr
| |