On Wed, 2008-04-23 at 12:30 +0200, Mike Galbraith wrote:Sorry about that :-/ this should fix it: --- Subject: sched: fix oops sched_debug uses SEQ_printf to use printk when the seqfile 'm' is NULL. Instead of doing that here too; choose to not output the weight tree to cut back on output. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index 89fa32b..353a481 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -1643,8 +1643,10 @@ static void print_cfs_stats(struct seq_file *m, int cpu) for_each_leaf_cfs_rq(cpu_rq(cpu), cfs_rq) print_cfs_rq(m, cpu, cfs_rq); - seq_printf(m, "\nWeight tree:\n"); - print_cfs_rq_tasks(m, &cpu_rq(cpu)->cfs, 1); + if (m) { + seq_printf(m, "\nWeight tree:\n"); + print_cfs_rq_tasks(m, &cpu_rq(cpu)->cfs, 1); + } rcu_read_unlock(); } #endif --
| James Bottomley | [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Antonio Almeida | HTB accuracy for high speed |
