git: kernel - Fix i915 deadlock
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Apr 22 17:33:26 PDT 2017
commit e24b12cd969a621c8618dbf653259c80ddd61670
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/e24b12cd969a621c8618dbf653259c80ddd61670
--
DragonFly BSD source repository
More information about the Commits
mailing list