Re: [PATCH] drm/i915: s/assert_spin_locked/lockdep_assert_held/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
> Cc: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>
> Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
> Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@xxxxxxxxxxxxxxx>

Regards, Joonas
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux