Softlockup and Hardlockup sample test module

Cong Wang xiyou.wangcong at gmail.com
Sun Apr 15 18:19:21 EDT 2018


On Sun, Apr 15, 2018 at 12:47 AM, Ivid Suvarna <ivid.suvarna at gmail.com> 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?



More information about the Kernelnewbies mailing list