diff options
Diffstat (limited to 'include/linux/cgroup-defs.h')
-rw-r--r-- | include/linux/cgroup-defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index 651c4363c85e..9d741959f218 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h | |||
@@ -522,6 +522,18 @@ struct cgroup_subsys { | |||
522 | bool implicit_on_dfl:1; | 522 | bool implicit_on_dfl:1; |
523 | 523 | ||
524 | /* | 524 | /* |
525 | * If %true, the controller, supports threaded mode on the default | ||
526 | * hierarchy. In a threaded subtree, both process granularity and | ||
527 | * no-internal-process constraint are ignored and a threaded | ||
528 | * controllers should be able to handle that. | ||
529 | * | ||
530 | * Note that as an implicit controller is automatically enabled on | ||
531 | * all cgroups on the default hierarchy, it should also be | ||
532 | * threaded. implicit && !threaded is not supported. | ||
533 | */ | ||
534 | bool threaded:1; | ||
535 | |||
536 | /* | ||
525 | * If %false, this subsystem is properly hierarchical - | 537 | * If %false, this subsystem is properly hierarchical - |
526 | * configuration, resource accounting and restriction on a parent | 538 | * configuration, resource accounting and restriction on a parent |
527 | * cgroup cover those of its children. If %true, hierarchy support | 539 | * cgroup cover those of its children. If %true, hierarchy support |