show_regs vs dump_stack in watchdog_timer_fn

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

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


Mulyadi Santosa
Freelance Linux trainer and consultant


More information about the Kernelnewbies mailing list