Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_fixup_move_pending - Cleanup irq move pending from a dying CPU*@desc: Interrupt descpriptor to clean up*@force_clear: If set clear the move pending bit unconditionally

Proto:bool irq_fixup_move_pending(struct irq_desc *desc, bool force_clear)

Type:bool

Parameter:

TypeParameterName
struct irq_desc *desc
boolforce_clear
20  data = irq_desc_get_irq_data(desc)
22  If Not irqd_is_setaffinity_pending(data) Then Return false
29  If cpumask_any_and - pick a "random" cpu from *mask1 & *mask2*@mask1: the first input cpumask*@mask2: the second input cpumask* Returns >= nr_cpu_ids if no cpus set.(pending_mask, cpu_online_mask) >= nr_cpu_ids Then
30  irqd_clr_move_pending(data)
31  Return false
33  If force_clear Then irqd_clr_move_pending(data)
35  Return true
Caller
NameDescribe
migrate_one_irq