public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] Question about kernel/syscall/signal/signal06.c
Date: Wed, 17 Jul 2019 11:46:14 +0200	[thread overview]
Message-ID: <20190717094614.GA9539@rei> (raw)
In-Reply-To: <56f854e2-9cc6-4725-3182-ff83e106ee23@windriver.com>

Hi!
> I find signal06 fails on qemux86-64 when qemu has a small number cores, 
> e.g. "qemu -smp 1/2/4/6".
> 
> ERROR INFO:
> 
> signal06?????? 0?? TINFO?? :?? loop = 23
> signal06?????? 1?? TFAIL?? :?? signal06.c:87: Bug Reproduced!
> 
> But if boot qemu with "-smp 16", the case has great chance to pass.
> 
> 
> I have two questions about this case:
> 
> 1. I don't know why multi-core will affect the case.

Have you looked into the code? The test is trying to reproduce a race
condition between two threads of course the number of cores does affect
the reproducibility.

> 2. On failure situation, what does break the "while loop" shown in below 
> code.

Bug in a kernel that fails to restore fpu state.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2019-07-17  9:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-17  9:21 [LTP] Question about kernel/syscall/signal/signal06.c Hongzhi, Song
2019-07-17  9:46 ` Cyril Hrubis [this message]
2019-07-19  8:13   ` Hongzhi, Song
2019-07-19  8:44     ` Li Wang
2019-07-22  1:56       ` Hongzhi, Song
2019-07-24  9:56         ` Li Wang
2019-08-07 10:15         ` 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=20190717094614.GA9539@rei \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox