[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <27437.1201152611@turing-police.cc.vt.edu>
Date: Thu, 24 Jan 2008 00:30:11 -0500
From: Valdis.Kletnieks@...edu
To: Nick Piggin <nickpiggin@...oo.com.au>
Cc: Mike Galbraith <efault@....de>, Frederik Himpe <fhimpe@...enet.be>,
linux-kernel@...r.kernel.org
Subject: Re: 2.6.24 regression: pan hanging unkilleable and un-straceable
On Tue, 22 Jan 2008 16:25:58 +1100, Nick Piggin said:
>
> Index: linux-2.6/kernel/sched.c
> ===================================================================
> --- linux-2.6.orig/kernel/sched.c
> +++ linux-2.6/kernel/sched.c
> @@ -4920,8 +4920,7 @@ static void show_task(struct task_struct
> printk(KERN_CONT "%5lu %5d %6d\n", free,
> task_pid_nr(p), task_pid_nr(p->real_parent));
>
> - if (state != TASK_RUNNING)
> - show_stack(p, NULL);
> + show_stack(p, NULL);
> }
Maybe something like this would be better?
if (state == TASK_RUNNING)
printk("running task, stack trace may be inaccurate\n");
show_stack(p, NULL);
Just a thought....
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists