Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:RCU torture reader from timer handler. Dereferences rcu_torture_current,* incrementing the corresponding element of the pipeline array. The* counter in the element should never be greater than 1, otherwise, the* RCU implementation is broken.

Proto:static void rcu_torture_timer(struct timer_list *unused)

Type:void

Parameter:

TypeParameterName
struct timer_list *unused
1336  atomic_long_inc( & n_rcu_torture_timers)
1337  Do one read-side critical section, returning false if there was* no data to read. Can be invoked both from process context and* from a timer handler.
1340  If call Then
1341  rhp = Allocation memory
1343  If rhp Then call(rhp, rcu_torture_timer_cb)