forked from TencentOS/TencentOS-kernel
This commit add cpu.offline to cpu cgroup, echo 1 > cpu.offline would convert all tasks under this cgroup to offline task. Beside, a new sysctl sysctl_sched_bt_ignore_cpubind is added, which makes offline tasks ignoring CPU binding and running on any CPU. Signed-off-by: Xiaoming Gao <newtongao@tencent.com> Signed-off-by: Hua Liu <shookliu@tencent.com> Signed-off-by: Xiaogguang Chen <xiaoggchen@tencent.com> Signed-off-by: Zhiguang Peng <zgpeng@tencent.com> Signed-off-by: Bin Fan <tombinfan@tencent.com> Signed-off-by: He Chen <heddchen@tencent.com> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| cgroup-internal.h | ||
| cgroup-v1.c | ||
| cgroup.c | ||
| cpuset.c | ||
| debug.c | ||
| freezer.c | ||
| namespace.c | ||
| pids.c | ||
| rdma.c | ||