[Intel-gfx] [PATCH] kthread: finer-grained lockdep/cross-release completion

Peter Zijlstra peterz at infradead.org
Fri Dec 8 18:40:46 UTC 2017


On Fri, Dec 08, 2017 at 05:36:28PM +0100, Daniel Vetter wrote:

> Aside: Could/should we take some fake lockdep locks around these
> callbacks, since not all drivers call them from a hardirq context? Just to
> validate that everyone follows the contract.

What I typically do is use local_irq_save/restore over the actual
callback. Then if someone doesn't honour the contract, it shows real
quick :-)


More information about the Intel-gfx mailing list