mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-23 18:19:39 +00:00
cgroup props: ditch notify_on_release from individual controllers
This is listed as a global prop, so we don't need to list it individually. Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> CC: Cyrill Gorcunov <gorcunov@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
e30f45d3a0
commit
a6587ef404
1 changed files with 4 additions and 9 deletions
|
|
@ -409,8 +409,7 @@ static int cgp_parse_builtins(void)
|
|||
"\"cpu.cfs_period_us\", "
|
||||
"\"cpu.cfs_quota_us\", "
|
||||
"\"cpu.rt_period_us\", "
|
||||
"\"cpu.rt_runtime_us\", "
|
||||
"\"notify_on_release\" "
|
||||
"\"cpu.rt_runtime_us\" "
|
||||
"]\n"
|
||||
/* limit_in_bytes and memsw.limit_in_bytes must be set in this order */
|
||||
"\"memory\":\n"
|
||||
|
|
@ -419,8 +418,7 @@ static int cgp_parse_builtins(void)
|
|||
"[ "
|
||||
"\"memory.limit_in_bytes\", "
|
||||
"\"memory.memsw.limit_in_bytes\", "
|
||||
"\"memory.use_hierarchy\", "
|
||||
"\"notify_on_release\" "
|
||||
"\"memory.use_hierarchy\" "
|
||||
"]\n"
|
||||
/*
|
||||
* cpuset.cpus and cpuset.mems must be set before the process moves
|
||||
|
|
@ -441,21 +439,18 @@ static int cgp_parse_builtins(void)
|
|||
"\"cpuset.memory_spread_page\", "
|
||||
"\"cpuset.memory_spread_slab\", "
|
||||
"\"cpuset.sched_load_balance\", "
|
||||
"\"cpuset.sched_relax_domain_level\", "
|
||||
"\"notify_on_release\" "
|
||||
"\"cpuset.sched_relax_domain_level\" "
|
||||
"]\n"
|
||||
"\"blkio\":\n"
|
||||
" - \"strategy\": \"replace\"\n"
|
||||
" - \"properties\": "
|
||||
"[ "
|
||||
"\"blkio.weight\", "
|
||||
"\"notify_on_release\" "
|
||||
"\"blkio.weight\" "
|
||||
"]\n"
|
||||
"\"freezer\":\n"
|
||||
" - \"strategy\": \"replace\"\n"
|
||||
" - \"properties\": "
|
||||
"[ "
|
||||
"\"notify_on_release\" "
|
||||
"]\n";
|
||||
|
||||
return cgp_parse_stream((void *)predefined_stream,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue