All of lore.kernel.org
 help / color / mirror / Atom feed
From: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
To: Colin Ian King <colin.king@canonical.com>
Cc: <linux-rt-users@vger.kernel.org>
Subject: Re: RT kernel testing with stress-ng and scheduling while in atomic bugs.
Date: Mon, 14 Dec 2020 15:07:54 +0900	[thread overview]
Message-ID: <878sa03op1.fsf@kokedama.swc.toshiba.co.jp> (raw)
In-Reply-To: <b9317e8c-d5d9-e440-6c32-f9c26ad4ef10@canonical.com> (Colin Ian King's message of "Mon, 7 Dec 2020 12:43:47 +0000")

Hi Colin,

Colin Ian King <colin.king@canonical.com> writes:

> Hi,
>
> I've recently been exercising the 5.10-rc6 kernel with the latest RT
> patches from linux-rt-devel (v5.10-rc6-rt13) using stress-ng V0.12.00
> [1][2] to see rugged the RT kernel is and I'm getting quite a few
> "scheduling while atomic:" bugs in various stress-tests.
>
> While I realize this is a rc6 kernel, I was surprised to be able to trip
> these issues so easily [3]
>
> Questions:
>
> 1. Are these issues expected?
> 2. Is there an official way to report my bug findings?
> 3. I am keen to debug and fix these issues, have RT folk got some advice
> on how to start debugging these kind of issues?
>
> On an 8 CPU SMP test box stress-ng is hitting these issues on the
> following stress tests:
>
> daemon enosys exec fork fstat madvise prctl pthread session sigpipe vfork
>
> ..it seems fork/clone + scheduling is the common feature in the stress
> tests that is triggering this issue.
>
> How to reproduce:
>
> git clone https://github.com/ColinIanKing/stress-ng.git
> cd stress-ng
> make clean
> make fast-test-all

I tried to reproduce the failures bug am not getting any errors
following the above steps.

    ~/src/stress-ng$ make fast-test-all
    ...
    stress-ng: 14:20:53.88 debug: [261118] metrics-check: all stressor
    metrics validated and sane
    zombie PASSED
    240 PASSED
    0 FAILED
    7 SKIPPED, bind-mount binderfs cpu-online mlockmany oom-pipe sysinval watchdog

Not sure if the problems you saw were fixed in the interim but I am
using 5.10.0-rc6-rt14 on a quad core Apollolake system.

Are there any configs that need enabling? I used defconfig + Intel LPSS
 for platform support + PREEMPT_RT.

Thanks,
Punit

[...]

  reply	other threads:[~2020-12-14  6:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 12:43 RT kernel testing with stress-ng and scheduling while in atomic bugs Colin Ian King
2020-12-14  6:07 ` Punit Agrawal [this message]
2020-12-14 11:37 ` Sebastian Andrzej Siewior

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=878sa03op1.fsf@kokedama.swc.toshiba.co.jp \
    --to=punit1.agrawal@toshiba.co.jp \
    --cc=colin.king@canonical.com \
    --cc=linux-rt-users@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.