diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-10-13 08:01:58 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-10-13 09:19:45 +0200 |
| commit | 76a21659aa2233bae7f7323704a3ca50f0a43df6 (patch) | |
| tree | 87e64512098784363bfeac51f10ddf5a49abaa22 /sys/linux | |
| parent | ed11bb90f0a775e91f9ae64e3be951a47cd642c3 (diff) | |
sys/linux: enable controllers when mounting cgroups
Cgroup mounts also accept a list of subsystem controllers.
Diffstat (limited to 'sys/linux')
| -rw-r--r-- | sys/linux/cgroup.txt | 2 | ||||
| -rw-r--r-- | sys/linux/filesystem.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/linux/cgroup.txt b/sys/linux/cgroup.txt index 2c0410438..0e6459f74 100644 --- a/sys/linux/cgroup.txt +++ b/sys/linux/cgroup.txt @@ -43,7 +43,7 @@ cgroup_dirs = "./cgroup/syz0", "./cgroup/syz1", "./cgroup.cpu/syz0", "./cgroup.c cgroup_names = "syz0", "syz1" cgroup_paths = "./cgroup/syz0", "./cgroup.cpu/syz0", "./cgroup.net/syz0", "./cgroup/syz1", "./cgroup.cpu/syz1", "./cgroup.net/syz1" cgroup_control_signs = '+', '-' -cgroup_subsystems = "cpu", "memory", "io", "pids", "rdma" +cgroup_subsystems = "cpu", "memory", "io", "pids", "rdma", "net", "net_cls", "net_prio", "devices", "blkio", "freezer", "cpuset", "cpuacct", "perf_event", "hugetlb", "rlimit" cgroup_proc_files = "cgroup.procs", "cgroup.threads", "tasks" cgroup_ctrl_read = "cgroup.controllers", "cgroup.events", "cgroup.freeze", "cgroup.kill", "cgroup.stat", "cpu.stat", "io.stat", "memory.current", "memory.events", "memory.events.local", "memory.stat", "memory.swap.current", "memory.swap.events", "memory.numa_stat", "pids.current", "pids.events", "rdma.current", "cpuacct.stat", "cpuacct.usage_all", "cpuacct.usage_percpu", "cpuacct.usage_percpu_sys", "cpuacct.usage_percpu_user", "cpuacct.usage_sys", "cpuacct.usage_user", "cpuset.effective_cpus", "cpuset.effective_mems", "cpuset.memory_pressure", "cpuset.memory_pressure_enabled", "net_prio.prioidx", "devices.list", "freezer.state", "freezer.self_freezing", "freezer.parent_freezing", "hugetlb.2MB.usage_in_bytes", "hugetlb.2MB.rsvd.usage_in_bytes", "hugetlb.1GB.usage_in_bytes", "hugetlb.1GB.rsvd.usage_in_bytes", "blkio.bfq.avg_queue_size", "blkio.bfq.dequeue", "blkio.bfq.empty_time", "blkio.bfq.group_wait_time", "blkio.bfq.idle_time", "blkio.bfq.io_merged", "blkio.bfq.io_merged_recursive", "blkio.bfq.io_queued", "blkio.bfq.io_queued_recursive", "blkio.bfq.io_service_bytes", "blkio.bfq.io_service_bytes_recursive", "blkio.bfq.io_service_time", "blkio.bfq.io_service_time_recursive", "blkio.bfq.io_serviced", "blkio.bfq.io_serviced_recursive", "blkio.bfq.io_wait_time", "blkio.bfq.io_wait_time_recursive", "blkio.bfq.sectors", "blkio.bfq.sectors_recursive", "blkio.bfq.time", "blkio.bfq.time_recursive", "blkio.throttle.io_service_bytes", "blkio.throttle.io_service_bytes_recursive", "blkio.throttle.io_serviced", "blkio.throttle.io_serviced_recursive" cgroup_ctrl_int = "cgroup.max.depth", "cgroup.max.descendants", "cpu.weight", "cpu.weight.nice", "io.bfq.weight", "io.latency", "io.max", "io.weight", "memory.high", "memory.low", "memory.max", "memory.min", "memory.swap.max", "memory.swap.high", "memory.swap.max", "memory.oom.group", "pids.max", "rdma.max", "cgroup.clone_children", "cpuacct.usage", "cpuset.cpu_exclusive", "cpuset.cpus", "cpuset.mem_exclusive", "cpuset.mem_hardwall", "cpuset.memory_migrate", "cpuset.memory_spread_page", "cpuset.memory_spread_slab", "cpuset.mems", "cpuset.sched_load_balance", "cpuset.sched_relax_domain_level", "hugetlb.2MB.failcnt", "hugetlb.2MB.limit_in_bytes", "hugetlb.2MB.max_usage_in_bytes", "hugetlb.2MB.rsvd.failcnt", "hugetlb.2MB.rsvd.limit_in_bytes", "hugetlb.2MB.rsvd.max_usage_in_bytes", "hugetlb.1GB.failcnt", "hugetlb.1GB.limit_in_bytes", "hugetlb.1GB.max_usage_in_bytes", "hugetlb.1GB.rsvd.failcnt", "hugetlb.1GB.rsvd.limit_in_bytes", "hugetlb.1GB.rsvd.max_usage_in_bytes", "net_cls.classid", "notify_on_release", "cpu.idle", "cpu.max", "cpu.max.burst", "blkio.reset_stats", "blkio.throttle.read_bps_device", "blkio.throttle.read_iops_device", "blkio.throttle.write_bps_device", "blkio.throttle.write_iops_device" diff --git a/sys/linux/filesystem.txt b/sys/linux/filesystem.txt index 3c7b33434..8e158f36a 100644 --- a/sys/linux/filesystem.txt +++ b/sys/linux/filesystem.txt @@ -915,12 +915,14 @@ cgroup_options [ noprefix stringnoz["noprefix"] release_agent fs_opt_filename["release_agent"] xattr stringnoz["xattr"] + subsystem stringnoz[cgroup_subsystems] ] [varlen] cgroup2_options [ nsdelegate stringnoz["nsdelegate"] memory_localevents stringnoz["memory_localevents"] memory_recursiveprot stringnoz["memory_recursiveprot"] + subsystem stringnoz[cgroup_subsystems] ] [varlen] codepage_nums = "1250", "1251", "1255", "437", "737", "775", "850", "852", "855", "857", "860", "861", "862", "863", "864", "865", "866", "869", "874", "932", "936", "949", "950" |
