All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cong Wang <xiyou.wangcong@gmail.com>
To: Ivid Suvarna <ivid.suvarna@gmail.com>
Cc: Kernel development list <linux-kernel@vger.kernel.org>,
	kernelnewbies@kernelnewbies.org
Subject: Re: Softlockup and Hardlockup sample test module
Date: Sun, 15 Apr 2018 15:19:21 -0700	[thread overview]
Message-ID: <CAM_iQpV8NCEJssynSDi9qOKbSNWLWmafEcRODi3avveP=STBew@mail.gmail.com> (raw)
In-Reply-To: <CABXF_ACzu=+AKYqPyZwFzFw95KrczVEKaYifmOVuv=YhsvcTtQ@mail.gmail.com>

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

WARNING: multiple messages have this Message-ID (diff)
From: xiyou.wangcong@gmail.com (Cong Wang)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Softlockup and Hardlockup sample test module
Date: Sun, 15 Apr 2018 15:19:21 -0700	[thread overview]
Message-ID: <CAM_iQpV8NCEJssynSDi9qOKbSNWLWmafEcRODi3avveP=STBew@mail.gmail.com> (raw)
In-Reply-To: <CABXF_ACzu=+AKYqPyZwFzFw95KrczVEKaYifmOVuv=YhsvcTtQ@mail.gmail.com>

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

  parent reply	other threads:[~2018-04-15 22:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-15  7:47 Softlockup and Hardlockup sample test module Ivid Suvarna
2018-04-15  7:47 ` Ivid Suvarna
2018-04-15 19:12 ` valdis.kletnieks
2018-04-15 19:12   ` valdis.kletnieks at vt.edu
2018-04-15 22:19 ` Cong Wang [this message]
2018-04-15 22:19   ` Cong Wang
2018-05-06 18:13 ` NiftyLinKern Mitchell
2018-05-06 18:36 ` NiftyLinKern Mitchell
  -- strict thread matches above, loose matches on Subject: below --
2018-04-15  6:31 Ivid Suvarna
2018-04-15  5:41 Ivid Suvarna
2018-04-15  5:41 ` Ivid Suvarna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM_iQpV8NCEJssynSDi9qOKbSNWLWmafEcRODi3avveP=STBew@mail.gmail.com' \
    --to=xiyou.wangcong@gmail.com \
    --cc=ivid.suvarna@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.