[PATCH] drm: Do not use BUG_ON(!spin_is_locked())
rientjes at google.com
Mon Aug 11 13:53:48 PDT 2014
On Mon, 11 Aug 2014, sanjeev sharma wrote:
> Hello David,
> Here is the old discussion carried out on this.
I'm suggesting that if you don't want to incur the cost of the conditional
everytime you call a certain function with assert_spin_locked() that you
could covert these to lockdep_assert_held() so the check is only done when
lockdep is enabled for debugging.
More information about the dri-devel