[Intel-gfx] [PATCH] drm/i915: s/assert_spin_locked/lockdep_assert_held/

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Thu Mar 2 13:38:36 UTC 2017


On to, 2017-03-02 at 13:28 +0000, Chris Wilson wrote:
> assert_spin_locked() becomes an unconditionally compiled BUG_ON(),
> adding debug code right into the heart of critical routines like
> interrupt handlers.
> 
>    text	   data	    bss	    dec	    hex
> 1296480	  19944	   2272	1318696	 141f28	before (lockdep disabled)
> 1295984	  19944	   2272	1318200	 141d38	after
> 
> 1336261	  21139	   3208	1360608	 14c2e0	before (lockdep enabled)
> 1339920	  21139	   3208	1364267	 14d12b	after
> 
> Small saving for release; hopefully more instructive in debug.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation


More information about the Intel-gfx mailing list