Skip to content

Commit 286bfac

Browse files
KAGA-KOKOFrederic Weisbecker
authored andcommitted
posix-cpu-timers: Remove incorrect comment in posix_cpu_timer_set()
A leftover from historical code which describes fiction. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]>
1 parent c444626 commit 286bfac

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

kernel/time/posix-cpu-timers.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -689,13 +689,8 @@ static int posix_cpu_timer_set(struct k_itimer *timer, int timer_flags,
689689
__posix_cpu_timer_get(timer, old, now);
690690
}
691691

692+
/* Retry if the timer expiry is running concurrently */
692693
if (unlikely(ret)) {
693-
/*
694-
* We are colliding with the timer actually firing.
695-
* Punt after filling in the timer's old value, and
696-
* disable this firing since we are already reporting
697-
* it as an overrun (thanks to bump_cpu_timer above).
698-
*/
699694
unlock_task_sighand(p, &flags);
700695
goto out;
701696
}

0 commit comments

Comments
 (0)