Michał Winiarski bef692d9f3 tests/gem_userptr_blits: Race between close and invalidate
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@chris-wilson.co.uk>
Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-02-04 10:29:12 +01:00
..
2014-12-10 17:11:35 +00:00
2014-12-10 17:11:35 +00:00
2012-04-10 16:23:18 +02:00
2014-05-14 00:36:04 +02:00
2014-12-08 19:26:39 +02:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 09:56:53 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-12-04 10:17:24 +08:00
2014-05-14 00:36:04 +02:00
2014-12-04 16:07:55 +00:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-12-08 19:26:39 +02:00
2014-12-04 16:07:55 +00:00
2014-12-04 16:07:55 +00:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00