2008-08-19 23:23:10

by Matt Helsley

[permalink] [raw]
Subject: [PATCH 4/6] Container Freezer: Cleanup comment.

Make this comment clearer.

Signed-off-by: Matt Helsley <[email protected]>
Cc: Andrew Morton <[email protected]>
---
Andrew was wondering if the comment was in the right place. I think it is but
suspect it could stand to be clarified.

kernel/cgroup_freezer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6.27-rc1-mm1/kernel/cgroup_freezer.c
===================================================================
--- linux-2.6.27-rc1-mm1.orig/kernel/cgroup_freezer.c
+++ linux-2.6.27-rc1-mm1/kernel/cgroup_freezer.c
@@ -61,8 +61,8 @@ int cgroup_frozen(struct task_struct *ta
}

/*
- * Buffer size for freezer state is limited by cgroups write_string()
- * interface. See cgroups code for the current size.
+ * cgroups_write_string() limits the size of freezer state strings to
+ * CGROUP_LOCAL_BUFFER_SIZE
*/
static const char *freezer_state_strs[] = {
"THAWED",

--