git: drm - Fix deadlock

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 1 23:38:55 PDT 2015


commit 1186f36acd32cef63e05cf084d4c8d0eac2f8510
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jun 1 23:37:04 2015 -0700

    drm - Fix deadlock
    
    * mutex_trylock()'s return value was inverted, resulting in a hanging
      lock.  Adjust the macro.
    
    * This should fix multiple reports of deadlocks in i915 (intel).
    
    Reported-by: ftigeot

Summary of changes:
 sys/dev/drm/include/linux/mutex.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1186f36acd32cef63e05cf084d4c8d0eac2f8510


-- 
DragonFly BSD source repository


More information about the Commits mailing list