函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\rcupdate.h Create Date:2022-07-27 06:39:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_read_lock_sched() - mark the beginning of a RCU-sched critical section* This is equivalent of rcu_read_lock(), but disables preemption.* Read-side critical sections can also be introduced by anything else

函数原型:static inline void rcu_read_lock_sched(void)

返回类型:void

参数:

723  禁止抢占()
724  __acquire(RCU_SCHED)
725  rcu_lock_acquire( & rcu_sched_lock_map)
726  RCU_LOCKDEP_WARN(!_is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections, "rcu_read_lock_sched() used illegally while idle")
调用者
名称描述
module_find_bug
generic_bug_clear_once
sched_dl_global_validate
sched_dl_do_global
rcutorture_one_extendDo one extension of an RCU read-side critical section using the* current reader state in readstate (set to zero for initial entry* to extended critical section), set the new state as specified by* newstate (set to zero for final exit from extended
p_start
trace_inject_entry
fpid_start
__fd_installInstall a file pointer in the fd array.* The VFS is full of places where we drop the files lock between* setting the open_fds bitmap and installing the file in the file* array. At any such point, we are vulnerable to a dup2() race