]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Convert EFAULT into a silent SIGBUS
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Jan 2014 11:34:57 +0000 (11:34 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 4 Feb 2014 16:03:27 +0000 (17:03 +0100)
commit9b859a62e04cd581c7d345c4567642e0aacad28b
tree0744f6f1f9fc674f342534acdf29f68044aaa12c
parent6de200b7cb620e64da848426cedaf43079cd0ae1
drm/i915: Convert EFAULT into a silent SIGBUS

EFAULT will be a possible return code where backing storage is
transient, such after it is purged by madvise. As such it is to be
expected and so should not trigger a WARN inside i915_gem_fault() but be
converted silently to SIGBUS.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c