show_regs vs dump_stack in watchdog_timer_fn

Mulyadi Santosa mulyadi.santosa at gmail.com
Thu Jun 2 18:43:49 EDT 2011


On Thu, Jun 2, 2011 at 21:15, Daniel Baluta <daniel.baluta at 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



More information about the Kernelnewbies mailing list