* Error with cgroups: "unused subsystem ns"
@ 2008-12-17 10:26 Sharyathi Nagesh
2008-12-18 1:08 ` Serge E. Hallyn
0 siblings, 1 reply; 5+ messages in thread
From: Sharyathi Nagesh @ 2008-12-17 10:26 UTC (permalink / raw)
To: LKML, Paul Menage, Alexey Dobriyan, balbir, Rishikesh K. Rajak,
akpm
Hi
Description:
We have noticed kernel error message on the dmesg when ltp test cases
are executed. We observed multiple instance of error message:
"Not cloning cgroup for unused subsystem ns" in dmesg
Test:
The messages were seen when ltp test case for the containers are executed:
ltp -f containers
Solution:
Alexey Dobriyan had provided a patch to address the issue. Where the
printk was removed. The patch still haven't made it to main line and
hence we still see the messages.
The patch can be found here:
http://git.openvz.org/?p=linux-2.6.24-openvz;a=log;h=v2.6.24-ovz002.2
Would this be the right way to handle the issue?
if so
When can we expect this to be included into mainline
Thanks
Yeehaw
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Error with cgroups: "unused subsystem ns"
2008-12-17 10:26 Error with cgroups: "unused subsystem ns" Sharyathi Nagesh
@ 2008-12-18 1:08 ` Serge E. Hallyn
2008-12-18 11:15 ` Sharyathi Nagesh
0 siblings, 1 reply; 5+ messages in thread
From: Serge E. Hallyn @ 2008-12-18 1:08 UTC (permalink / raw)
To: Sharyathi Nagesh
Cc: LKML, Paul Menage, Alexey Dobriyan, balbir, Rishikesh K. Rajak,
akpm
Quoting Sharyathi Nagesh (sharyath@in.ibm.com):
> Hi
>
> Description:
> We have noticed kernel error message on the dmesg when ltp test cases are
> executed. We observed multiple instance of error message:
> "Not cloning cgroup for unused subsystem ns" in dmesg
>
> Test:
> The messages were seen when ltp test case for the containers are executed:
> ltp -f containers
>
> Solution:
> Alexey Dobriyan had provided a patch to address the issue. Where the printk
> was removed. The patch still haven't made it to main line and hence we
> still see the messages.
> The patch can be found here:
> http://git.openvz.org/?p=linux-2.6.24-openvz;a=log;h=v2.6.24-ovz002.2
>
> Would this be the right way to handle the issue?
> if so
> When can we expect this to be included into mainline
Resend the patch to lkml. Assuming you are talking about commit id
93af30a60055a83a00188ae04b88bbd9b4e1489a, go ahead and add my
Acked-by.
Converting it to a pr_debug() might be another thing to consider, but
I'm not sure anyone wants these messages.
-serge
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error with cgroups: "unused subsystem ns"
2008-12-18 1:08 ` Serge E. Hallyn
@ 2008-12-18 11:15 ` Sharyathi Nagesh
2008-12-18 19:12 ` Andrew Morton
0 siblings, 1 reply; 5+ messages in thread
From: Sharyathi Nagesh @ 2008-12-18 11:15 UTC (permalink / raw)
To: Serge E. Hallyn, LKML
Cc: Paul Menage, Alexey Dobriyan, balbir, Rishikesh K. Rajak, akpm
[-- Attachment #1: Type: text/plain, Size: 421 bytes --]
Serge
>
> Resend the patch to lkml. Assuming you are talking about commit id
> 93af30a60055a83a00188ae04b88bbd9b4e1489a, go ahead and add my
> Acked-by.
Yes it is the same patch. I am attaching the patch for 2.6.28-rc8 let me
know: when this can accepted into main line?
> Converting it to a pr_debug() might be another thing to consider, but
> I'm not sure anyone wants these messages.
>
> -serge
Thanks
Yeehaw
[-- Attachment #2: unused_subsystem_ns.patch --]
[-- Type: text/x-diff, Size: 666 bytes --]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Sharyathi Nagesh <sharyathi@in.ibm.com>
Acked-by: Serge E. Hallyn <serge@hallyn.com>
-----------------
Index: linux-2.6.28-rc8/kernel/cgroup.c
===================================================================
--- linux-2.6.28-rc8.orig/kernel/cgroup.c 2008-12-11 04:41:51.000000000 +0530
+++ linux-2.6.28-rc8/kernel/cgroup.c 2008-12-18 21:55:58.000000000 +0530
@@ -2934,9 +2934,6 @@
again:
root = subsys->root;
if (root == &rootnode) {
- printk(KERN_INFO
- "Not cloning cgroup for unused subsystem %s\n",
- subsys->name);
mutex_unlock(&cgroup_mutex);
return 0;
}
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Error with cgroups: "unused subsystem ns"
2008-12-18 11:15 ` Sharyathi Nagesh
@ 2008-12-18 19:12 ` Andrew Morton
2008-12-19 17:17 ` Sharyathi Nagesh
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2008-12-18 19:12 UTC (permalink / raw)
To: Sharyathi Nagesh; +Cc: serge, linux-kernel, menage, adobriyan, balbir, risrajak
On Thu, 18 Dec 2008 16:45:38 +0530
Sharyathi Nagesh <sharyath@in.ibm.com> wrote:
> Serge
> >
> > Resend the patch to lkml. Assuming you are talking about commit id
> > 93af30a60055a83a00188ae04b88bbd9b4e1489a, go ahead and add my
> > Acked-by.
> Yes it is the same patch. I am attaching the patch for 2.6.28-rc8 let me
> know: when this can accepted into main line?
>
> > Converting it to a pr_debug() might be another thing to consider, but
> > I'm not sure anyone wants these messages.
> >
> > -serge
>
> Thanks
> Yeehaw
>
>
>
>
>
> [unused_subsystem_ns.patch text/x-diff (667B)]
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
> Signed-off-by: Sharyathi Nagesh <sharyathi@in.ibm.com>
>
> Acked-by: Serge E. Hallyn <serge@hallyn.com>
> -----------------
>
>
> Index: linux-2.6.28-rc8/kernel/cgroup.c
> ===================================================================
> --- linux-2.6.28-rc8.orig/kernel/cgroup.c 2008-12-11 04:41:51.000000000 +0530
> +++ linux-2.6.28-rc8/kernel/cgroup.c 2008-12-18 21:55:58.000000000 +0530
> @@ -2934,9 +2934,6 @@
> again:
> root = subsys->root;
> if (root == &rootnode) {
> - printk(KERN_INFO
> - "Not cloning cgroup for unused subsystem %s\n",
> - subsys->name);
> mutex_unlock(&cgroup_mutex);
> return 0;
> }
>
I'm unsure waht to make of this. It has no changelog. It appears to have
been authored by yourself, although it's unclear why it has Alexey's
signoff as well.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Error with cgroups: "unused subsystem ns"
2008-12-18 19:12 ` Andrew Morton
@ 2008-12-19 17:17 ` Sharyathi Nagesh
0 siblings, 0 replies; 5+ messages in thread
From: Sharyathi Nagesh @ 2008-12-19 17:17 UTC (permalink / raw)
To: Andrew Morton; +Cc: serge, linux-kernel, menage, adobriyan, balbir, risrajak
[-- Attachment #1: Type: text/plain, Size: 295 bytes --]
Andrew Morton wrote:
>
> I'm unsure waht to make of this. It has no changelog. It appears to have
> been authored by yourself, although it's unclear why it has Alexey's
> signoff as well.
This patch is originally from Alexy I have just ported it into latest
kernel mainline
Thanks
Yeehaw
[-- Attachment #2: unused_subsystem_ns.patch --]
[-- Type: text/x-diff, Size: 790 bytes --]
This patch removes spurious warning messages that are thrown into
the console during cgroup operations.
-----------------
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Sharyathi Nagesh <sharyathi@in.ibm.com>
Acked-by: Serge E. Hallyn <serge@hallyn.com>
-----------------
Index: linux-2.6.28-rc8/kernel/cgroup.c
===================================================================
--- linux-2.6.28-rc8.orig/kernel/cgroup.c 2008-12-11 04:41:51.000000000 +0530
+++ linux-2.6.28-rc8/kernel/cgroup.c 2008-12-18 21:55:58.000000000 +0530
@@ -2934,9 +2934,6 @@
again:
root = subsys->root;
if (root == &rootnode) {
- printk(KERN_INFO
- "Not cloning cgroup for unused subsystem %s\n",
- subsys->name);
mutex_unlock(&cgroup_mutex);
return 0;
}
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-19 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-17 10:26 Error with cgroups: "unused subsystem ns" Sharyathi Nagesh
2008-12-18 1:08 ` Serge E. Hallyn
2008-12-18 11:15 ` Sharyathi Nagesh
2008-12-18 19:12 ` Andrew Morton
2008-12-19 17:17 ` Sharyathi Nagesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox