aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2012-03-25 19:47:34 +0200
committerDaniel Vetter <[email protected]>2012-03-27 13:27:03 +0200
commit692a576b9ddf8006f1559e14a5022c0a100440f1 (patch)
tree61b63ce355ddbc87d26129bc58a08d9873957b6e /tools/perf/scripts/python/bin
parent3ae5378330f581466b05bcea2dd3bc8731a598cb (diff)
drm/i915: don't call shmem_read_mapping unnecessarily
This speeds up pwrite and pread from ~120 µs ro ~100 µs for reading/writing 1mb on my snb (if the backing storage pages are already pinned, of course). v2: Chris Wilson pointed out a glaring page reference bug - I've unconditionally dropped the reference. With that fixed (and the associated reduction of dirt in dmesg) it's now even a notch faster. v3: Unconditionaly grab a page reference when dropping dev->struct_mutex to simplify the code-flow. Tested-by: Chris Wilson <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions