Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_timer_base

Proto:static inline struct timer_base *get_timer_base(unsigned int tflags)

Type:struct timer_base

Parameter:

TypeParameterName
unsigned inttflags
864  Return get_timer_cpu_base(tflags, tflags & @TIMER_DEFERRABLE: A deferrable timer will work normally when the* system is busy, but will not cause a CPU to come out of idle just* to service it; instead, the timer will be serviced when the CPU)
Caller
NameDescribe
lock_timer_baseWe are using hashed locking: Holding per_cpu(timer_bases[x]).lock means* that all timers which are tied to this base are locked, and the base itself* is locked too.* So __run_timers/migrate_timers can safely modify all timers which could