Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\hrtimer.c Create Date:2022-07-28 10:41:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called from run_local_timers in hardirq context every jiffy

Proto:void hrtimer_run_queues(void)

Type:void

Parameter:Nothing

1726  cpu_base = this_cpu_ptr( & The timer bases:* There are more clockids than hrtimer bases. Thus, we index* into the timer bases by the hrtimer_base_type enum. When trying* to reach a base using a clockid, hrtimer_clockid_to_base())
1730  If Is the high resolution mode active ? Then Return
1740  If tick_check_oneshot_change(!hrtimer_is_hres_enabled()) Then
1741  hrtimer_switch_to_hres()
1742  Return
1745  raw_spin_lock_irqsave( & lock, flags)
1746  now = hrtimer_update_base(cpu_base)
1748  If Not ktime_before - Compare if a ktime_t value is smaller than another one.*@cmp1: comparable1*@cmp2: comparable2* Return: true if cmp1 happened before cmp2. Then
1749  softirq_expires_next = KTIME_MAX
1750  softirq_activated = 1
1751  This function must run with irqs disabled!
1754  __hrtimer_run_queues(cpu_base, now, flags, HRTIMER_ACTIVE_HARD)
1755  raw_spin_unlock_irqrestore( & lock, flags)
Caller
NameDescribe
run_local_timersCalled by the local, per-CPU timer interrupt on SMP.