[prev in list] [next in list] [prev in thread] [next in thread]
List: dragonfly-commits
Subject: git: kernel - Fix i915 deadlock
From: dillon () crater ! dragonflybsd ! org (Matthew Dillon)
Date: 2017-04-23 0:33:26
Message-ID: 20170423003326.DC8DEB0680E067 () crater ! dragonflybsd ! org
[Download RAW message or body]
commit e24b12cd969a621c8618dbf653259c80ddd61670
Author: Matthew Dillon <dillon@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic