lkml.org 
[lkml]   [2011]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: HW perf initialisation as early_initcall
From
Date
On Wed, 2011-11-23 at 15:30 +0000, Will Deacon wrote:
> We don't use this on ARM so I'm not familiar with it.
>
NMI watchdog is basically a perf counter that fires every few seconds
and checks if the system is still making progress (much like the regular
soft watchdog stuff we have). If it thinks we're stuck it prints stack
traces to the console etc..

Handy for if you do dumb stuff like:

local_irq_disable();
while (1)
;

Which oddly enough seems to happen way too often ;-)

Anyway, it all depends on having NMIs in the first place.


\
 
 \ /
  Last update: 2011-11-23 16:59    [W:0.039 / U:1.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site