提交 bed636ab 编写于 作者: C Chris Wilson

drm/i915: i915_mutex_interruptible() returns -EINTR

... 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: NChris Wilson <chris@chris-wilson.co.uk>
上级 9db4a9c7
......@@ -1230,6 +1230,7 @@ int i915_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf)
set_need_resched();
case 0:
case -ERESTARTSYS:
case -EINTR:
return VM_FAULT_NOPAGE;
case -ENOMEM:
return VM_FAULT_OOM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册