Re: [Intel-gfx] [PATCH 2/2] drm/i915: Shrink the GEM kmem_caches upon idling

2018-01-24 Thread Tvrtko Ursulin
On 24/01/2018 10:37, Chris Wilson wrote: Quoting Tvrtko Ursulin (2018-01-24 10:32:16) On 19/01/2018 15:23, Chris Wilson wrote: When we finally decide the gpu is idle, that is a good time to shrink our kmem_caches. v3: Defer until an rcu grace period after we idle. Signed-off-by: Chris Wilso

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Shrink the GEM kmem_caches upon idling

2018-01-24 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-01-24 10:32:16) > > On 19/01/2018 15:23, Chris Wilson wrote: > > When we finally decide the gpu is idle, that is a good time to shrink > > our kmem_caches. > > > > v3: Defer until an rcu grace period after we idle. > > > > Signed-off-by: Chris Wilson > > Cc: Tvrtko

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Shrink the GEM kmem_caches upon idling

2018-01-24 Thread Tvrtko Ursulin
On 19/01/2018 15:23, Chris Wilson wrote: When we finally decide the gpu is idle, that is a good time to shrink our kmem_caches. v3: Defer until an rcu grace period after we idle. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_gem.c | 65 +++

[Intel-gfx] [PATCH 2/2] drm/i915: Shrink the GEM kmem_caches upon idling

2018-01-19 Thread Chris Wilson
When we finally decide the gpu is idle, that is a good time to shrink our kmem_caches. v3: Defer until an rcu grace period after we idle. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin --- drivers/gpu/drm/i915/i915_gem.c | 65 + 1 file changed, 65 insert