每次新的clocksource注册进来,都会触发clocksource_select函数被调用,它按照rating值选择最好的clocksource,并记录在全局变量curr_clocksource中,然后通过timekeeping_notify函数通知timekeeping,当前clocksource已经变更。 4 clocksource_jiffies 基于Jiffies的时钟源是最常见的分母时钟源,所有系统都应实现这个功能。它具有相同的低精...
externunsigned longvolatile __jiffy_data jiffies;// x86_32 下使用 根据arch/x86/kernel/vmlinux.lds.S,在 32 位下,jiffies 指向 jiffies_64 的低 32 位。 每当收到 clock_event_device (后详)发出的中断时,会调用其 handler ,即 tick_handle_periodic ,于是有 tick_handle_periodic => tick_periodic ...
The kernel relies a lot on clocksources, and it can use different ones for different purposes, sometimes bypassing the actual clocksource framework and directly referring the source as is the case for thescheduler clockor jiffies. Nowthe high resolution timersand thedyntickssubsystem (on whichnohz_...
We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Cancel Create saved search Sign in Sign up Reseting focus {...
watchdog_timer.expires = jiffies + WATCHDOG_INTERVAL; add_timer_on(&watchdog_timer, cpumask_first(cpu_online_mask)); watchdog_running = 1;0 comments on commit b519951 Please sign in to comment. Footer © 2024 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact ...
(t=15000 jiffies g=4183933 q=26243) Sending NMI from CPU 199 to CPUs 6: NMI backtrace for cpu 6 CPU: 6 PID: 0 Comm: swapper/6 Tainted: G X 5.3.18-150300.59.101-default #1 SLE15-SP3 RIP: 0010:__sbq_wake_up+0x64/0xd0
include / linux / clocksource.h v6 v6.13 v6.12 v6.12.4 v6.12.3 v6.12.2 v6.12.1 v6.12 v6.12-rc7 v6.12-rc6 v6.12-rc5 v6.12-rc4 v6.12-rc3 v6.12-rc2 v6.12-rc1 v6.11 v6.10 v6.9 v6.8 v6.7 v6.6 v6.5
[ 0.068803] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.069012] atomic64_test: passed for x86-64 platform with CX8 and with SSE [ 0.069018] pinctrl core: initialized pinctrl subsystem ...