Re: [PATCH][RFC] perf/x86: avoid false-positives hard lockup

2019-10-10 Thread Peter Zijlstra
On Thu, Oct 10, 2019 at 04:41:38PM +0800, Li RongQing wrote: > if perf counter is used as nmi watchdog, and twice nmi in soft > watchdog sample period will trigger hard lockup > > make sure left time is not less than soft watchdog period by > compared with 3/5 period to skip forward, since soft wa

[PATCH][RFC] perf/x86: avoid false-positives hard lockup

2019-10-10 Thread Li RongQing
if perf counter is used as nmi watchdog, and twice nmi in soft watchdog sample period will trigger hard lockup make sure left time is not less than soft watchdog period by compared with 3/5 period to skip forward, since soft watchdog sample period is 2/5 of watchdog_thresh, nmi watchdog sample per