diff options
| author | Chris Wilson <[email protected]> | 2018-01-19 14:46:57 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-01-19 21:13:38 +0000 |
| commit | f0111b04ff43ec237fb4419f164a7d1ed1d02bcf (patch) | |
| tree | 5ee4872226b41f6aaaeb0eef2584bbf08e889afb /tools/perf/scripts/python/sctop.py | |
| parent | bd724318b682587ad2f989ab8e0f7b3d4486ced5 (diff) | |
drm/i915: Shrink the request kmem_cache on allocation error
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.
v2: Comment before the shrink and barrier in the error path.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions