aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2021-02-24 11:42:08 +0100
committerIngo Molnar <[email protected]>2021-03-06 12:40:21 +0100
commit50caf9c14b1498c90cf808dbba2ca29bd32ccba4 (patch)
tree4cd7d82723c949bb83bcc20eb9d6fe762e1914f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent9e81889c7648d48dd5fe13f41cbc99f3c362484a (diff)
sched: Simplify set_affinity_pending refcounts
Now that we have set_affinity_pending::stop_pending to indicate if a stopper is in progress, and we have the guarantee that if that stopper exists, it will (eventually) complete our @pending we can simplify the refcount scheme by no longer counting the stopper thread. Fixes: 6d337eab041d ("sched: Fix migrate_disable() vs set_cpus_allowed_ptr()") Cc: [email protected] Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Valentin Schneider <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions