函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\rcutorture.c Create Date:2022-07-27 11:22:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static void rcu_torture_timer(struct timer_list *unused)

返回类型:void

参数:

类型参数名称
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  如果call
1341  rhp等于开辟内存
1343  如果rhpcall(rhp, rcu_torture_timer_cb)