Re: [patch 24/29] lockup_detector/perf: Implement init time perf validation

2017-09-07 Thread Don Zickus
On Thu, Aug 31, 2017 at 09:16:22AM +0200, Thomas Gleixner wrote: > The watchdog tries to create perf events even after it figured out that > perf is not functional or the requested event is not supported. > > That's braindead as this can be done once at init time and if not supported > the NMI

Re: [patch 24/29] lockup_detector/perf: Implement init time perf validation

2017-09-07 Thread Don Zickus
On Thu, Aug 31, 2017 at 09:16:22AM +0200, Thomas Gleixner wrote: > The watchdog tries to create perf events even after it figured out that > perf is not functional or the requested event is not supported. > > That's braindead as this can be done once at init time and if not supported > the NMI

[patch 24/29] lockup_detector/perf: Implement init time perf validation

2017-08-31 Thread Thomas Gleixner
The watchdog tries to create perf events even after it figured out that perf is not functional or the requested event is not supported. That's braindead as this can be done once at init time and if not supported the NMI watchdog can be turned off unconditonally. Implement the perf hardlockup

[patch 24/29] lockup_detector/perf: Implement init time perf validation

2017-08-31 Thread Thomas Gleixner
The watchdog tries to create perf events even after it figured out that perf is not functional or the requested event is not supported. That's braindead as this can be done once at init time and if not supported the NMI watchdog can be turned off unconditonally. Implement the perf hardlockup