aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorPhilipp Stanner <[email protected]>2024-11-05 15:31:38 +0100
committerPhilipp Stanner <[email protected]>2024-11-07 10:05:54 +0100
commitbaf4afc5831438b35de4b0e951b9cd58435a6d99 (patch)
treea24612e36300c416e6afbad48fd23d5c6ac0b12d /tools/perf/scripts/python/futex-contention.py
parent21c23e4b64e360d74d31b480f0572c2add0e8558 (diff)
drm/sched: Improve teardown documentation
If jobs are still enqueued in struct drm_gpu_scheduler.pending_list when drm_sched_fini() gets called, those jobs will be leaked since that function stops both job-submission and (automatic) job-cleanup. It is, thus, up to the driver to take care of preventing leaks. The related function drm_sched_wqueue_stop() also prevents automatic job cleanup. Those pitfals are not reflected in the documentation, currently. Explicitly inform about the leak problem in the docstring of drm_sched_fini(). Additionally, detail the purpose of drm_sched_wqueue_{start,stop} and hint at the consequences for automatic cleanup. Signed-off-by: Philipp Stanner <[email protected]> Reviewed-by: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions