diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-28 13:45:36 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-28 20:55:02 +0100 |
commit | e5281ccd2e0049e2b9e8ce82449630d25082372d (patch) | |
tree | 56ff79f83ce4d0e957d68643a37af4cbc08eba11 /tools/perf/scripts/python/sched-migration.py | |
parent | 39a01d1fb63cf8ebc1a8cf436f5c0ba9657b55c6 (diff) |
drm/i915: Eliminate nested get/put pages
By using read_cache_page() for individual pages during pwrite/pread we
can eliminate an unnecessary large allocation (and immediate free) of
obj->pages. Also this eliminates any potential nesting of get/put pages,
simplifying the code and preparing the path for greater things.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions