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

Chris Wilson
2014-04-08T06:50:42Z

On Mon, Apr 07, 2014 at 02:58:34PM -0700, Ben Widawsky wrote:
> Blocking important fixes for a test case is harmful to customers of our
> software. I won't argue past that. If you won't take it as is, add it to the
> JIRA task like you said. I'll carry this one around with my dynamic page table
> allocations since you essentially can't do any real workloads with full PPGTT
> without this (assuming you have signals). I'd venture to even say existing
> tests can hit it with full PPGTT turned on.
>
> The following will hit it on the very first iteration:
> #!/bin/bash
>
> while [ 1 ] ; do
> (glxgears) & pid[0]=$!
> (glxgears) & pid[1]=$!
> (glxgears) & pid[2]=$!
> sleep 3
> kill ${pid[*]}
> done

You must agree that this is the fix for the above issue, but just a band
aid to prevent it exploding upon the user?
-Chris

--
Chris Wilson, Intel Open Source Technology Centre