Bug 188101 - process scheduling in cpuset of cgroup is not working properly.
Summary: process scheduling in cpuset of cgroup is not working properly.
Status: NEW
Alias: None
Product: Process Management
Classification: Unclassified
Component: Scheduler (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: Ingo Molnar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-18 12:49 UTC by Chandra Prakash
Modified: 2018-09-05 23:58 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.4
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Chandra Prakash 2016-11-18 12:49:53 UTC
When cpuset of a container (docker/lxc both uses underlying cgroup) becomes empty (due to hotplug/hotunplug) then processes running in that container can be scheduled on any cpus in cpuset of its nearest non-empty ancestor.
    But, when cpuset of a running container (docker/lxc)becomes non-empty from an empty state (adding cpu to the empty cpuset) by updating the cpuset of the running container (by using echo method), the  processes running in that container still uses the same cpuset as that of its nearest non-empty ancestor.

Note You need to log in before you can comment on or make changes to this bug.