[PATCH] cgroup/misc: update struct members descriptions

Kamalesh Babulal posted 1 patch 2 years, 6 months ago
include/linux/misc_cgroup.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] cgroup/misc: update struct members descriptions
Posted by Kamalesh Babulal 2 years, 6 months ago
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>
---
 include/linux/misc_cgroup.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 {
-- 
2.34.3
Re: [PATCH] cgroup/misc: update struct members descriptions
Posted by Tejun Heo 2 years, 6 months ago
On Tue, Jul 18, 2023 at 02:38:34PM +0530, Kamalesh Babulal wrote:
> 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>

Applied to cgroup/for-6.6.

Thanks.

-- 
tejun