Re: show_regs vs dump_stack in watchdog_timer_fn

2011-06-02 Thread Mulyadi Santosa
On Thu, Jun 2, 2011 at 21:15, Daniel Baluta  wrote:
> Hello,
>
> Why the stack isn't always dumped in watchdog_timer_fn ([1])?
>
> Registers content is useful, but without a stack trace it's very
> hard to find the task which caused system softlockup.

AFAIK, because there's no guarantee stack frame content can be trusted
as such time...i.e could be corrupted...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


show_regs vs dump_stack in watchdog_timer_fn

2011-06-02 Thread Daniel Baluta
Hello,

Why the stack isn't always dumped in watchdog_timer_fn ([1])?

Registers content is useful, but without a stack trace it's very
hard to find the task which caused system softlockup.


thanks,
Daniel.

[1] http://lxr.linux.no/linux+v2.6.39/kernel/watchdog.c#L292

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies