* show_regs vs dump_stack in watchdog_timer_fn
@ 2011-06-02 14:15 Daniel Baluta
2011-06-02 22:43 ` Mulyadi Santosa
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Baluta @ 2011-06-02 14:15 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* show_regs vs dump_stack in watchdog_timer_fn
2011-06-02 14:15 show_regs vs dump_stack in watchdog_timer_fn Daniel Baluta
@ 2011-06-02 22:43 ` Mulyadi Santosa
0 siblings, 0 replies; 2+ messages in thread
From: Mulyadi Santosa @ 2011-06-02 22:43 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jun 2, 2011 at 21:15, Daniel Baluta <daniel.baluta@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-02 22:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-02 14:15 show_regs vs dump_stack in watchdog_timer_fn Daniel Baluta
2011-06-02 22:43 ` Mulyadi Santosa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).