diff options
author | Rob Clark <robdclark@chromium.org> | 2021-04-05 10:45:29 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-04-07 11:05:47 -0700 |
commit | 64fcbde772c72af81e96189d748a4bc8950b08d3 (patch) | |
tree | 187b7eca148b40daa4d8959c930ccd31b8c89f73 /tools/perf/scripts/python/sched-migration.py | |
parent | f48f356330f7124671b28ddc93a28c492ef05b9f (diff) |
drm/msm: Track potentially evictable objects
Objects that are potential for swapping out are (1) willneed (ie. if
they are purgable/MADV_WONTNEED we can just free the pages without them
having to land in swap), (2) not on an active list, (3) not dma-buf
imported or exported, and (4) not vmap'd. This repurposes the purged
list for objects that do not have backing pages (either because they
have not been pinned for the first time yet, or in a later patch because
they have been unpinned/evicted.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20210405174532.1441497-7-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions