diff options
author | Chris Wilson <[email protected]> | 2016-04-20 12:09:52 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-04-20 13:49:44 +0100 |
commit | 1bec9b0bda3d570cb7ff3a69e44917facf7e8820 (patch) | |
tree | f8e9bd21f68e32afd73a336d79f68edd1bacbc02 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 1768d4550c055bfd2d4b44763fcb9230f41e593b (diff) |
drm/i915/shrinker: Only shmemfs objects are backed by swap
Since we can only swap out shmemfs objects, those are the only ones that
can influence the ability of the shrinker to free pages. Currently, all
non-shmemfs objects have a raised pages_pin_count to protect them from
the shrinker, so this just makes the logic for can_release_pages()
clearer (and safer in future so that we don't over estimate our ability
to free up pages from future non-swappable objects).
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions