projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db4a9c
)
drm/i915: i915_mutex_interruptible() returns -EINTR
author
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 11 Feb 2011 20:31:19 +0000
(20:31 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 11 Feb 2011 20:32:44 +0000
(20:32 +0000)
... so we handle that for i915_gem_fault() in the same manner as
ERESTARTSYS, or we send a SIGBUS to the faulting application.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem.c
b/drivers/gpu/drm/i915/i915_gem.c
index 9297143447cf008473ef8fc5088b4c2e405f29b1..a8768e2bbebc6401450e78d837dfc48566edcd46 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem.c
+++ b/
drivers/gpu/drm/i915/i915_gem.c
@@
-1230,6
+1230,7
@@
out:
set_need_resched();
case 0:
case -ERESTARTSYS:
+ case -EINTR:
return VM_FAULT_NOPAGE;
case -ENOMEM:
return VM_FAULT_OOM;