Re: [PATCH 2/2] dequeue_synchronous_signal: kill the unnecessary still-pending check

From: Oleg Nesterov

Date: Mon Apr 27 2026 - 07:38:30 EST


On 04/26, Andrew Morton wrote:
>
> On Sun, 26 Apr 2026 18:21:29 +0200 Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> > The signals in SYNCHRONOUS_MASK are not real-time signals, so at most
> > one instance can be queued. Add a static_assert() to ensure.
> >
> > Remove the list_for_each_entry_continue() loop and simplify the code.
>
> AI review asked a thing:
> https://sashiko.dev/#/patchset/ae47bBSixfPpkQBm@xxxxxxxxxx

OOPS. Indeed I am stupid. I forgor that posixtimer_send_sigqueue() checks
prepare_signal() but not legacy_queue().

Heh ;) Dear Sashiko, thanks for your quick NACK!

Oleg.