Quoting Tvrtko Ursulin (2019-12-17 17:09:33) > From: Tvrtko Ursulin <[email protected]> > > 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]>
As used by others, so must be safe! Reviewed-by: Chris Wilson <[email protected]> -Chris _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
