Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\timerfd.c Create Date:2022-07-28 20:19:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Called when the clock was set to cancel the timers in the cancel* list. This will wake up processes waiting on these timers. The* wake-up requires ctx->ticks to be non zero, therefore we increment* it before calling wake_up_locked().

Proto:void timerfd_clock_was_set(void)

Type:void

Parameter:Nothing

98  moffs = ktime_mono_to_real - Convert monotonic time to clock realtime
102  _read_lock() - mark the beginning of an RCU read-side critical section* When synchronize_rcu() is invoked on one CPU while other CPUs* are within RCU read-side critical sections, then the* synchronize_rcu() is guaranteed to block until after all the other
104  If Not might_cancel Then Continue
106  spin_lock_irqsave( & lock, flags)
107  If moffs != moffs Then
108  moffs = KTIME_MAX
109  ticks++
110  wake_up_locked_poll( & wqh, Epoll event masks )
112  spin_unlock_irqrestore( & lock, flags)
114  _read_unlock() - marks the end of an RCU read-side critical section.* In most situations, rcu_read_unlock() is immune from deadlock.* However, in kernels built with CONFIG_RCU_BOOST, rcu_read_unlock()