aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorWaiman Long <[email protected]>2024-08-05 01:30:17 +0000
committerTejun Heo <[email protected]>2024-08-05 20:54:25 +0000
commitff0ce721ec213499ec5a532041fb3a1db2dc5ecb (patch)
treec0cf2b41903aa4352a2f976c038727b9f5c77feb /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentcgroup/cpuset: Clear effective_xcpus on cpus_allowed clearing only if cpus.ex... (diff)
downloadkernel-ff0ce721ec213499ec5a532041fb3a1db2dc5ecb.tar.gz
kernel-ff0ce721ec213499ec5a532041fb3a1db2dc5ecb.zip
cgroup/cpuset: Eliminate unncessary sched domains rebuilds in hotplug
It was found that some hotplug operations may cause multiple rebuild_sched_domains_locked() calls. Some of those intermediate calls may use cpuset states not in the final correct form leading to incorrect sched domain setting. Fix this problem by using the existing force_rebuild flag to inhibit immediate rebuild_sched_domains_locked() calls if set and only doing one final call at the end. Also renaming the force_rebuild flag to force_sd_rebuild to make its meaning for clear. Signed-off-by: Waiman Long <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions