diff options
author | 2019-12-17 17:09:33 +0000 | |
---|---|---|
committer | 2019-12-18 10:55:27 +0200 | |
commit | f0f3a6cecf3b98990985cd42f7bf5a0313894822 (patch) | |
tree | 30a702388d6fbd04df3260e73bd9a4f19afccb4e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/gem: Keep request alive while attaching fences (diff) | |
download | linux-dev-f0f3a6cecf3b98990985cd42f7bf5a0313894822.tar.xz linux-dev-f0f3a6cecf3b98990985cd42f7bf5a0313894822.zip |
drm/i915: Fix pid leak with banned clients
Get_pid_task() needs to be paired with a put_pid or we leak a pid
reference every time a banned client tries to create a context.
v2:
* task_pid_nr helper exists! (Chris)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Fixes: b083a0870c79 ("drm/i915: Add per client max context ban limit")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191217170933.8108-1-tvrtko.ursulin@linux.intel.com
(cherry picked from commit ba16a48af797db124ac100417f9229b1650ce1fb)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions