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>
This commit is contained in:
Kamalesh Babulal
2023-07-18 14:38:34 +05:30
committed by Tejun Heo
parent c25ff4b911
commit 62157e11d9

View File

@@ -31,7 +31,7 @@ struct misc_cg;
* struct misc_res: Per cgroup per misc type resource * struct misc_res: Per cgroup per misc type resource
* @max: Maximum limit on the resource. * @max: Maximum limit on the resource.
* @usage: Current usage of 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 { struct misc_res {
unsigned long max; unsigned long max;
@@ -42,6 +42,7 @@ struct misc_res {
/** /**
* struct misc_cg - Miscellaneous controller's cgroup structure. * struct misc_cg - Miscellaneous controller's cgroup structure.
* @css: cgroup subsys state object. * @css: cgroup subsys state object.
* @events_file: Handle for the misc resources events file.
* @res: Array of misc resources usage in the cgroup. * @res: Array of misc resources usage in the cgroup.
*/ */
struct misc_cg { struct misc_cg {