Re: [patch V2 16/50] posix-cpu-timers: Simplify posix_cpu_timer_set()
From: Anna-Maria Behnsen
Date: Mon Apr 15 2024 - 11:28:22 EST
Thomas Gleixner <tglx@xxxxxxxxxxxxx> writes:
> 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.
>
Reviewed-by: Anna-Maria Behnsen <anna-maria@xxxxxxxxxxxxx>