Re: Softlockup and Hardlockup sample test module

From: Cong Wang
Date: Sun Apr 15 2018 - 18:19:53 EST


On Sun, Apr 15, 2018 at 12:47 AM, Ivid Suvarna <ivid.suvarna@xxxxxxxxx> wrote:
> Hi All,
>
> Could you please provide some sample test module for causing a
> Softlockup and Hardlockup in latest kernel for SMP for testing
> purposes. I assume there are some Kconfigs to be enabled as well for
> this.


https://github.com/torvalds/linux/blob/master/drivers/misc/lkdtm/bugs.c#L130
Is this what you need?