summaryrefslogtreecommitdiff
path: root/include/linux/misc_cgroup.h
diff options
context:
space:
mode:
authorKamalesh Babulal <kamalesh.babulal@oracle.com>2023-07-18 14:38:34 +0530
committerTejun Heo <tj@kernel.org>2023-07-18 12:03:29 -1000
commit62157e11d9a4ca7210bb2b0e8fa0557a6ada7fad (patch)
treecb27d8acf432990b55fb8becfea569381b8d2164 /include/linux/misc_cgroup.h
parentc25ff4b911a11908c7f05bc07cc6762f9cece2b5 (diff)
cgroup/misc: update struct members descriptions
Update the miscellaneous controller's structure member's description of struct misc_res and struct misc_cg. Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/misc_cgroup.h')
-rw-r--r--include/linux/misc_cgroup.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/misc_cgroup.h b/include/linux/misc_cgroup.h
index c238207d1615..6555c0f57158 100644
--- a/include/linux/misc_cgroup.h
+++ b/include/linux/misc_cgroup.h
@@ -31,7 +31,7 @@ struct misc_cg;
* struct misc_res: Per cgroup per misc type resource
* @max: Maximum limit on the resource.
* @usage: Current usage of the resource.
- * @failed: True if charged failed for the resource in a cgroup.
+ * @events: Number of times, the resource limit exceeded.
*/
struct misc_res {
unsigned long max;
@@ -42,6 +42,7 @@ struct misc_res {
/**
* struct misc_cg - Miscellaneous controller's cgroup structure.
* @css: cgroup subsys state object.
+ * @events_file: Handle for the misc resources events file.
* @res: Array of misc resources usage in the cgroup.
*/
struct misc_cg {