Re: [Intel-gfx] [PATCH 5/5] drm/i915: Avoid GPU stalls from kswapd

2015-10-07 Thread Daniel Vetter
On Tue, Oct 06, 2015 at 02:18:34PM +0100, Chris Wilson wrote: > On Tue, Oct 06, 2015 at 03:01:45PM +0200, Daniel Vetter wrote: > > On Thu, Oct 01, 2015 at 12:18:29PM +0100, Chris Wilson wrote: > > > Exclude active GPU pages from the purview of the background shrinker > > > (kswapd), as these cause

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Avoid GPU stalls from kswapd

2015-10-06 Thread Chris Wilson
On Tue, Oct 06, 2015 at 03:01:45PM +0200, Daniel Vetter wrote: > On Thu, Oct 01, 2015 at 12:18:29PM +0100, Chris Wilson wrote: > > Exclude active GPU pages from the purview of the background shrinker > > (kswapd), as these cause uncontrollable GPU stalls. Given that the > > shrinker is rerun until

Re: [Intel-gfx] [PATCH 5/5] drm/i915: Avoid GPU stalls from kswapd

2015-10-06 Thread Daniel Vetter
On Thu, Oct 01, 2015 at 12:18:29PM +0100, Chris Wilson wrote: > Exclude active GPU pages from the purview of the background shrinker > (kswapd), as these cause uncontrollable GPU stalls. Given that the > shrinker is rerun until the freelists are satisfied, we should have > opportunity in subsequent

[Intel-gfx] [PATCH 5/5] drm/i915: Avoid GPU stalls from kswapd

2015-10-01 Thread Chris Wilson
Exclude active GPU pages from the purview of the background shrinker (kswapd), as these cause uncontrollable GPU stalls. Given that the shrinker is rerun until the freelists are satisfied, we should have opportunity in subsequent passes to recover the pages once idle. If the machine does run out of