[Intel-gfx] [PATCH v2 1/2] drm/i915: EBUSY status handling added to i915_gem_fault().

Daniel Vetter daniel at ffwll.ch
Wed Oct 3 16:30:52 CEST 2012


On Wed, Oct 03, 2012 at 03:27:36PM +0100, Chris Wilson wrote:
> On Wed,  3 Oct 2012 17:15:26 +0300, mika.kuoppala at intel.com wrote:
> > From: Dmitry Rogozhkin <dmitry.v.rogozhkin at intel.com>
> > 
> > Subsequent threads returning EBUSY from vm_insert_pfn() was not handled
> > correctly. As a result concurrent access from new threads to
> > mmapped data caused SIGBUS.
> > 
> > Tested-by: Mika Kuoppala <mika.kuoppala at intel.com>
> > Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin at intel.com>
> 
> Fixes? Reported-by?
> 
> I would order the case slightly different so that the comment block
> comes after EIO.
> 
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

I've added the fixes note and applied both patches to -fixes. Thanks for
the patch & review.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list