Re: [PATCH] drm/i915: Make vm eviction uninterruptible

Chris Wilson
2014-04-09T06:16:26Z

On Tue, Apr 08, 2014 at 09:09:14PM -0700, Ben Widawsky wrote:
> This is no more or less flagrant than any other use. Evict CANNOT finish
> if we get interrupted by a signal. If we can't properly evict everything
> from the address space, I can't make any guarantee about anything being
> clean when we teardown, full stop. If you want to limit calling evict to
> when all vmas are idle, fine, but that's just as lame.

Not really. We don't block userspace just because the GPU is busy when
the process closes it fd.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre