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

From: Andrew Morton

Date: Sun Apr 26 2026 - 15:27:32 EST


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