public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Frederic Weisbecker <frederic@kernel.org>,
	Oleg Nesterov <oleg@redhat.com>,
	Heiko Carstens <hca@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Richard Henderson <richard.henderson@linaro.org>,
	Ilya Leoshkevich <iii@linux.ibm.com>
Subject: Re: [PATCH] posix-timers: Fix a race with __exit_signal()
Date: Mon, 02 Dec 2024 22:46:42 +0100	[thread overview]
Message-ID: <87frn5vjul.ffs@tglx> (raw)
In-Reply-To: <20241202155547.8214-1-iii@linux.ibm.com>

On Mon, Dec 02 2024 at 16:54, Ilya Leoshkevich wrote:
> If a thread exit happens simultaneously with a POSIX timer signal, this
> POSIX timer may end up being erroneously stopped. This problem may be
> reproduced with a small C program that creates a POSIX timer and
> constantly respawns threads, e.g. [1].

AFAICT this has been fixed with commit:

  63dffecfba3e ("posix-timers: Target group sigqueue to current task only if not exiting")

Are you sure, that you have this commit in your testing? It's in rc1.

Thanks,

        tglx

      parent reply	other threads:[~2024-12-02 21:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-02 15:54 [PATCH] posix-timers: Fix a race with __exit_signal() Ilya Leoshkevich
2024-12-02 17:28 ` Oleg Nesterov
2024-12-02 18:59   ` Ilya Leoshkevich
2024-12-02 21:46 ` Thomas Gleixner [this message]

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=87frn5vjul.ffs@tglx \
    --to=tglx@linutronix.de \
    --cc=agordeev@linux.ibm.com \
    --cc=frederic@kernel.org \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=iii@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=richard.henderson@linaro.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox