[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191025172749.ugi3hcehqbldit7i@linux-p48b>
Date: Fri, 25 Oct 2019 10:27:49 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Peter Zijlstra <peterz@...radead.org>
Cc: mingo@...nel.org, linux-kernel@...r.kernel.org,
Davidlohr Bueso <dbueso@...e.de>
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
Powered by blists - more mailing lists