Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__run_timers - run all expired timers (if any) on this CPU.*@base: the timer vector to be processed.

Proto:static inline void __run_timers(struct timer_base *base)

Type:void

Parameter:

TypeParameterName
struct timer_base *base
1745  If Not time_after_eq(jiffies, clk) Then Return
1748  timer_base_lock_expiry(base)
1749  raw_spin_lock_irq( & lock)
1765  must_forward_clk = false
1767  When time_after_eq(jiffies, clk) cycle
1769  levels = collect_expired_timers(base, heads)
1770  clk++
1772  When levels-- cycle
1773  expire_timers(base, heads + levels)
1775  raw_spin_unlock_irq( & lock)
1776  timer_base_unlock_expiry(base)
Caller
NameDescribe
run_timer_softirqThis function runs timers and the timer-tq in bottom half context.