lkml.org 
[lkml]   [2024]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch V2 23/50] signal: Remove task argument from dequeue_signal()
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@linutronix.de>
> Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
> ---
> fs/signalfd.c | 4 ++--
> include/linux/sched/signal.h | 5 ++---
> kernel/signal.c | 23 ++++++++++-------------

Reviewed-by: Oleg Nesterov <oleg@redhat.com>


\
 
 \ /
  Last update: 2024-05-27 16:45    [W:0.232 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site