Re: [Intel-gfx] [PATCH] drm/i915: Wait for the mutex whilst the reaper runs

2012-10-10 Thread Chris Wilson
On Wed, 10 Oct 2012 12:07:30 +0100, Chris Wilson wrote: > If the system is forced to start kswapd to recover pages, the system is > very starved. Fortunately, kswapd is its own process context and can > wait for the mutex. Note this doesn't survive inspection with lockdep due to dependency upon

[Intel-gfx] [PATCH] drm/i915: Wait for the mutex whilst the reaper runs

2012-10-10 Thread Chris Wilson
If the system is forced to start kswapd to recover pages, the system is very starved. Fortunately, kswapd is its own process context and can wait for the mutex. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-)