Re: [patch V3 16/51] posix-cpu-timers: Simplify posix_cpu_timer_set()

From: Frederic Weisbecker
Date: Sun Jun 23 2024 - 18:41:18 EST


Le Mon, Jun 10, 2024 at 06:42:25PM +0200, Thomas Gleixner a écrit :
> Avoid the late sighand lock/unlock dance when a timer is not armed to
> enforce reevaluation of the timer base so that the process wide CPU timer
> sampling can be disabled.
>
> Do it right at the point where the arming decision is made which already
> has sighand locked.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

Reviewed-by: Frederic Weisbecker <frederic@xxxxxxxxxx>