[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56970BCF.2000100@linux.vnet.ibm.com>
Date: Thu, 14 Jan 2016 10:45:35 +0800
From: Pan Xinhui <xinhui@...ux.vnet.ibm.com>
To: Li <kassey1216@...il.com>, mingo@...hat.com
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kernel/hung_task.c: printk address for hung_task
hi, Li
I have a little confusion. for what you want to know this ptr's value. Can that help you debug or root the cause?
I'm just wondering :)
thanks
xinhui
On 2016年01月13日 10:42, Li wrote:
> From: Kassey Li <kassey1216@...il.com>
>
> this is used to check task_struct info when got a dump.
>
> Signed-off-by: Kassey Li <kassey1216@...il.com>
> ---
> kernel/hung_task.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/hung_task.c b/kernel/hung_task.c
> index d234022..b5dd7dd 100644
> --- a/kernel/hung_task.c
> +++ b/kernel/hung_task.c
> @@ -108,8 +108,8 @@ static void check_hung_task(struct task_struct *t, unsigned long timeout)
> * Ok, the task did not get scheduled for more than 2 minutes,
> * complain:
> */
> - pr_err("INFO: task %s:%d blocked for more than %ld seconds.\n",
> - t->comm, t->pid, timeout);
> + pr_err("INFO: task %s:%d 0x%p blocked for more than %ld seconds.\n",
> + t->comm, t->pid, t, timeout);
> pr_err(" %s %s %.*s\n",
> print_tainted(), init_utsname()->release,
> (int)strcspn(init_utsname()->version, " "),
>
Powered by blists - more mailing lists