Merge branch 'for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Pull cgroup changes from Tejun Heo: "The only notable change is Vipin's new misc cgroup controller. This implements generic support for resources which can be controlled by simply counting and limiting the number of resource instances - ie there's X number of these on the system and this cgroup subtree can have upto Y of those. The first user is the address space IDs used for virtual machine memory encryption and expected future usages are similar - niche hardware features with concrete resource limits and simple usage models" * 'for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cgroup: use tsk->in_iowait instead of delayacct_is_task_waiting_on_io() cgroup/cpuset: fix typos in comments cgroup: misc: mark dummy misc_cg_res_total_usage() static inline svm/sev: Register SEV and SEV-ES ASIDs to the misc controller cgroup: Miscellaneous cgroup documentation. cgroup: Add misc cgroup controller
This commit is contained in:
commit
55e6be657b
12 changed files with 699 additions and 16 deletions
14
init/Kconfig
14
init/Kconfig
|
|
@ -1110,6 +1110,20 @@ config CGROUP_BPF
|
|||
BPF_CGROUP_INET_INGRESS will be executed on the ingress path of
|
||||
inet sockets.
|
||||
|
||||
config CGROUP_MISC
|
||||
bool "Misc resource controller"
|
||||
default n
|
||||
help
|
||||
Provides a controller for miscellaneous resources on a host.
|
||||
|
||||
Miscellaneous scalar resources are the resources on the host system
|
||||
which cannot be abstracted like the other cgroups. This controller
|
||||
tracks and limits the miscellaneous resources used by a process
|
||||
attached to a cgroup hierarchy.
|
||||
|
||||
For more information, please check misc cgroup section in
|
||||
/Documentation/admin-guide/cgroup-v2.rst.
|
||||
|
||||
config CGROUP_DEBUG
|
||||
bool "Debug controller"
|
||||
default n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue