[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZyTf7lNNYt8Wjbfq@localhost.localdomain>
Date: Fri, 1 Nov 2024 15:04:30 +0100
From: Frederic Weisbecker <frederic@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: LKML <linux-kernel@...r.kernel.org>,
Anna-Maria Behnsen <anna-maria@...utronix.de>,
John Stultz <jstultz@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>, Stephen Boyd <sboyd@...nel.org>,
Eric Biederman <ebiederm@...ssion.com>,
Oleg Nesterov <oleg@...hat.com>
Subject: Re: [patch v6 16/20] signal: Handle ignored signals in
do_sigaction(action != SIG_IGN)
Le Thu, Oct 31, 2024 at 04:46:42PM +0100, Thomas Gleixner a écrit :
> From: Thomas Gleixner <tglx@...utronix.de>
>
> When a real handler (including SIG_DFL) is installed for a signal, which
> had previously SIG_IGN set, then the list of ignored posix timers has to be
> checked for timers which are affected by this change.
>
> Add a list walk function which checks for the matching signal number and if
> found requeues the timers signal, so the timer is rearmed on signal
> delivery.
>
> Rearming the timer right away is not possible because that requires to drop
> sighand lock.
>
> No functional change as the counter part which queues the timers on the
> ignored list is still missing.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Acked-by: Peter Zijlstra (Intel) <peterz@...radead.org>
Reviewed-by: Frederic Weisbecker <frederic@...nel.org>
Powered by blists - more mailing lists