[Intel-gfx] [PATCH v2] tests/gem_userptr_blits: Race between close and invalidate
Daniel Vetter
daniel at ffwll.ch
Wed Feb 4 01:29:36 PST 2015
On Tue, Feb 03, 2015 at 08:24:12PM +0000, Chris Wilson wrote:
> On Tue, Feb 03, 2015 at 08:13:56PM +0100, Michał Winiarski wrote:
> > It was possible for invalidate range start mmu notifier callback to race
> > with releasing userptr object. If the object is released prior to
> > taking a spinlock in the callback, we'll encounter a null pointer
> > dereference.
> >
> > v2: Moved expressions inside igt_assert(), added mem barrier (Chris)
> >
> > Cc: Chris Wilson <chris at chris-wilson.co.uk>
> > Signed-off-by: Michał Winiarski <michal.winiarski at intel.com>
>
> Lgtm,
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
Applied, thanks.
-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