Re: [PATCH] lib/test_lockup: test module to generate lockups
From: Kees Cook
Date: Tue Feb 11 2020 - 14:21:35 EST
On Tue, Feb 11, 2020 at 03:57:42PM +0300, Konstantin Khlebnikov wrote:
> On 11/02/2020 04.26, Kees Cook wrote:
> > On Mon, Feb 10, 2020 at 12:56:31PM +0300, Konstantin Khlebnikov wrote:
> > > CONFIG_TEST_LOCKUP=m adds module "test_lockup" that helps to make sure
> > > that watchdogs and lockup detectors are working properly.
> >
> > Isn't this all already possible with CONFIG_LKDTM ?
>
> Yep, LKDTM covers some cases. But they are unrecoverable.
>
> It seems LKDTM is more like a fixed set of unit tests while
> test_lockup is a flexible tool for stress load.
Okay, cool. I just wanted to make sure you'd seen LKDTM and there wasn't
too much wheel-reinvention happening. :) Thanks for checking!
-Kees
--
Kees Cook