Re: [Intel-gfx] [PATCH 04/10] drm/i915: Shrink the request kmem_cache on allocation error

2018-01-16 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-01-16 10:10:28) > > On 15/01/2018 21:24, Chris Wilson wrote: > > If we fail to allocate a new request, make sure we recover the pages > > that are in the process of being freed by inserting an RCU barrier. > > > > Signed-off-by: Chris Wilson

Re: [Intel-gfx] [PATCH 04/10] drm/i915: Shrink the request kmem_cache on allocation error

2018-01-16 Thread Tvrtko Ursulin
On 15/01/2018 21:24, Chris Wilson wrote: If we fail to allocate a new request, make sure we recover the pages that are in the process of being freed by inserting an RCU barrier. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_request.c | 3 +++ 1

[Intel-gfx] [PATCH 04/10] drm/i915: Shrink the request kmem_cache on allocation error

2018-01-15 Thread Chris Wilson
If we fail to allocate a new request, make sure we recover the pages that are in the process of being freed by inserting an RCU barrier. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_request.c | 3 +++ 1 file changed, 3 insertions(+) diff --git