diff options
author | 2013-08-26 19:50:55 -0300 | |
---|---|---|
committer | 2013-09-03 19:17:58 +0200 | |
commit | 5cfacdedb1a94efd29faeaab53f939554a3f5943 (patch) | |
tree | 0e100a605856f41a7eb12b3bbd7166704ac45da0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: enable trickle feed on Haswell (diff) | |
download | linux-dev-5cfacdedb1a94efd29faeaab53f939554a3f5943.tar.xz linux-dev-5cfacdedb1a94efd29faeaab53f939554a3f5943.zip |
drm/i915: Pin pages whilst mapping the dma-buf
As we attempt to kmalloc after calling get_pages, there is a possibility
that the shrinker may reap the pages we just acquired. To prevent this
we need to increment the pages_pin_count early, so rearrange the code
and error paths to make it so.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions