git: DragonFly_RELEASE_4_8 kernel - Fix i915 deadlock

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 23 11:27:19 PDT 2017


commit 80962085ef1c3b0370afc22510ed1186fa261fd8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 22 17:30:54 2017 -0700

    kernel - Fix i915 deadlock
    
    * (Attempt to) fix a deadlock in the i915 code.  The device lock retry
      code does not release the PG_BUSY on the passed-in placeholder page,
      so the fact that the lock is obtained non-blocking is irrelevant.
    
      Try to fix this by immediately releasing the placeholder page.  The
      code already checks for an insertion race later on.

Summary of changes:
 sys/dev/drm/i915/i915_gem.c | 61 +++++++++++++++++++++++++++------------------
 sys/vm/vm_fault.c           | 12 +++++++--
 2 files changed, 47 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/80962085ef1c3b0370afc22510ed1186fa261fd8


-- 
DragonFly BSD source repository


More information about the Commits mailing list