diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-01 08:48:42 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-01 09:30:09 +0000 |
commit | 415981623f80a08ae36e9757cd4fa25da140b877 (patch) | |
tree | ff151ecdf6033a592ff1897fab0081793b1ac2bb /tools/perf/scripts/python | |
parent | 7d5d59e527b43d4efb00467234efbd2a0d5e5a86 (diff) |
drm/i915: Discard objects from mm global_list after being shrunk
In the shrinker, we can safely remove an empty object (obj->mm.pages ==
NULL) after having discarded the pages because we are holding the
struct_mutex.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161101084843.3961-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions