mirror of
https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable.git
synced 2025-09-14 11:19:08 +10:00
posix-timers: Clarify posix_timer_rearm() comment
Yet another incomprehensible piece of art. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/r/20230425183313.724863461@linutronix.de
This commit is contained in:
parent
c575689d66
commit
02972d7955
@ -275,15 +275,9 @@ static void common_hrtimer_rearm(struct k_itimer *timr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function is exported for use by the signal deliver code. It is
|
* This function is called from the signal delivery code if
|
||||||
* called just prior to the info block being released and passes that
|
* info->si_sys_private is not zero, which indicates that the timer has to
|
||||||
* block to us. It's function is to update the overrun entry AND to
|
* be rearmed. Restart the timer and update info::si_overrun.
|
||||||
* restart the timer. It should only be called if the timer is to be
|
|
||||||
* restarted (i.e. we have flagged this in the sys_private entry of the
|
|
||||||
* info block).
|
|
||||||
*
|
|
||||||
* To protect against the timer going away while the interrupt is queued,
|
|
||||||
* we require that the it_requeue_pending flag be set.
|
|
||||||
*/
|
*/
|
||||||
void posixtimer_rearm(struct kernel_siginfo *info)
|
void posixtimer_rearm(struct kernel_siginfo *info)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user