aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2019-12-17 17:09:33 +0000
committerJoonas Lahtinen <[email protected]>2019-12-18 10:55:27 +0200
commitf0f3a6cecf3b98990985cd42f7bf5a0313894822 (patch)
tree30a702388d6fbd04df3260e73bd9a4f19afccb4e /scripts/gcc-plugins/cyc_complexity_plugin.c
parenta76cf56920966a384b578f7b099bd1f073cc2a92 (diff)
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 <[email protected]> Fixes: b083a0870c79 ("drm/i915: Add per client max context ban limit") Cc: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit ba16a48af797db124ac100417f9229b1650ce1fb) Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions