函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\lockdep.c Create Date:2022-07-27 10:50:46
Last Modify:2020-03-17 14:16:01 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:free_zapped_rcu

函数原型:static void free_zapped_rcu(struct callback_head *ch)

返回类型:void

参数:

类型参数名称
struct callback_head *ch
4957  如果WARN_ON_ONCE(ch != & rcu_head)则返回
4960  raw_local_irq_save(flags)
4961  r sched/core.c and kernel_lock.c: ( & lockdep_lock: protects the lockdep graph, the hashes and the* class/list/hash allocators.* This is one of the rare exceptions where it's justified* to use a raw spinlock - we really dont want the spinlock* code to recurse back into the lockdep code...)
4962  lockdep_recursion等于1
4965  pf等于pfindex按位异或1的值
4966  The caller must hold the graph lock. May be called from RCU context.
4967  scheduled = false
4972  Schedule an RCU callback if no RCU callback is pending. Must be called with* the graph lock held.
4974  lockdep_recursion等于0
4975  arch_spin_unlock( & lockdep_lock: protects the lockdep graph, the hashes and the* class/list/hash allocators.* This is one of the rare exceptions where it's justified* to use a raw spinlock - we really dont want the spinlock* code to recurse back into the lockdep code...)
4976  raw_local_irq_restore(flags)