Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Wait for the current expedited grace period to complete, and then* wake up everyone who piggybacked on the just-completed expedited* grace period. Also update all the ->exp_seq_rq counters as needed* in order to avoid counter-wrap problems.

Proto:static void rcu_exp_wait_wake(unsigned long s)

Type:void

Parameter:

TypeParameterName
unsigned longs
542  synchronize_sched_expedited_wait()
547  mutex_lock( & Serialize wakeup. )
548  Record the end of an expedited grace period.
549  trace_rcu_exp_grace_period(Name of structure. , s, Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("end"))
551  rcu_for_each_node_breadth_first(rnp)
552  If ULONG_CMP_LT(READ_ONCE(exp_seq_rq), s) Then
553  spin_lock( & exp_lock)
555  If ULONG_CMP_LT(exp_seq_rq, s) Then exp_seq_rq = s
557  spin_unlock( & exp_lock)
559  smp_mb()
560  wake_up_all( & exp_wq[Return the counter portion of a sequence number previously returned* by rcu_seq_snap() or rcu_seq_current(). & 0x3])
562  trace_rcu_exp_grace_period(Name of structure. , s, Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("endwake"))
563  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.