函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\cpuhotplug.c Create Date:2022-07-27 11:15:19
Last Modify:2020-03-17 14:50:00 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:q_affinity_online_cpu - Restore affinity for managed interrupts*@cpu: Upcoming CPU for which interrupts should be restored

函数原型:int irq_affinity_online_cpu(unsigned int cpu)

返回类型:int

参数:

类型参数名称
unsigned intcpu
206  irq_lock_sparse()
208  desc等于中断转换为描述
209  关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & 自旋锁)
210  irq_restore_affinity_of_irq(desc, cpu)
211  raw_spin_unlock_irq( & 自旋锁)
213  irq_unlock_sparse()
215  返回:0