Re: [RFC PATCH v2 08/14] watchdog/hardlockup: Decouple the hardlockup detector from perf

2019-04-08 Thread Ricardo Neri
On Tue, Mar 26, 2019 at 10:18:32PM +0100, Thomas Gleixner wrote: > On Wed, 27 Feb 2019, Ricardo Neri wrote: > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Detect hard lockups on a system > > + * > > + * Copyright (C) Intel Corporation 2019 > > + * > > + * Note: All of this code comes

[RFC PATCH v2 08/14] watchdog/hardlockup: Decouple the hardlockup detector from perf

2019-02-27 Thread Ricardo Neri
The current default implementation of the hardlockup detector assumes that it is implemented using perf events. However, the hardlockup detector can be driven by other sources of non-maskable interrupts (e.g., a properly configured timer). Put in a separate file all the code that is specific to