[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071112141245.1d9de09a.akpm@linux-foundation.org>
Date: Mon, 12 Nov 2007 14:12:45 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Diego Calleja <diegocg@...il.com>
Cc: Paul Menage <menage@...gle.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Improve cgroup printks
On Sat, 10 Nov 2007 12:11:56 +0100 Diego Calleja <diegocg@...il.com> wrote:
> When I boot with the 'quiet' parameter, I see on the screen:
>
> [ 0.000000] Initializing cgroup subsys cpuset
> [ 0.000000] Initializing cgroup subsys cpu
> [ 39.036026] Initializing cgroup subsys cpuacct
> [ 39.036080] Initializing cgroup subsys debug
> [ 39.036118] Initializing cgroup subsys ns
>
> This patch lowers the priority of those messages, adds a "cgroup: " prefix
> to another couple of printks and kills the useless reference to the source file.
>
>
> Signed-off-by: Diego Calleja <diegocg@...il.com>
>
> --- 2.6/kernel/cgroup.c.old 2007-11-10 11:35:51.000000000 +0100
> +++ 2.6/kernel/cgroup.c 2007-11-10 11:56:46.000000000 +0100
> @@ -1,6 +1,4 @@
> /*
> - * kernel/cgroup.c
> - *
> * Generic process-grouping system.
> *
> * Based originally on the cpuset system, extracted by Paul Menage
> @@ -2200,7 +2198,7 @@ static void cgroup_init_subsys(struct cg
> {
> struct cgroup_subsys_state *css;
> struct list_head *l;
> - printk(KERN_ERR "Initializing cgroup subsys %s\n", ss->name);
> + printk("Initializing cgroup subsys %s\n", ss->name);
But this one now has no facility level at all.
I'll switch it to KERN_INFO, OK?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists