Re: [patch V2 23/50] signal: Remove task argument from dequeue_signal()

From: Oleg Nesterov
Date: Thu Apr 18 2024 - 10:24:11 EST


On 04/11, Thomas Gleixner wrote:
>
> The task pointer which is handed to dequeue_signal() is always current. The
> argument along with the first comment about signalfd in that function is
> confusing at best. Remove it and use current internally.
>
> Update the stale comment for dequeue_signal() while at it.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>
> ---
> fs/signalfd.c | 4 ++--
> include/linux/sched/signal.h | 5 ++---
> kernel/signal.c | 23 ++++++++++-------------

Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>