Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ktime_get_mono_fast_ns

Proto:u64 ktime_get_mono_fast_ns(void)

Type:u64

Parameter:Nothing

474  Return ktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic* This timestamp is not guaranteed to be monotonic across an update
Caller
NameDescribe
srcu_gp_endNote the end of an SRCU grace period. Initiates callback invocation* and starts a new grace period if needed.* The ->srcu_cb_mutex acquisition does not protect any data, but* instead prevents more than one grace period from starting while we
srcu_might_be_idleIf SRCU is likely idle, return true, otherwise return false.* Note that it is OK for several current from-idle requests for a new* grace period from idle to specify expediting because they will all end* up requesting the same grace period anyhow
rcu_perf_writerRCU perf writer kthread. Repeatedly does a grace period.
ktime_get_boot_fast_nsktime_get_boot_fast_ns - NMI safe and fast access to boot clock.* To keep it NMI safe since we're accessing from tracing, we're not using a* separate timekeeper with updates to monotonic clock and boot offset* protected with seqlocks
kdb_sysinfoMost of this code has been lifted from kernel/timer.c::sys_sysinfo().* I cannot call that code directly from kdb, it has an unconditional* cli()/sti() and calls routines that take locks which can stop the debugger.
____bpf_ktime_get_ns