Quoting Tvrtko Ursulin (2019-12-17 17:09:33) > From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx> > > 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@xxxxxxxxx> > Fixes: b083a0870c79 ("drm/i915: Add per client max context ban limit") > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxx> As used by others, so must be safe! Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx