函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:设置CPU的内核抢占

函数原型:static __always_inline void set_preempt_need_resched(void)

返回类型:void

参数:

60  raw_cpu_and_4(__preempt_count, ~We use the MSB mostly because its available )
调用者
名称描述
resched_curr标记当前进程需要被调度出去
rcu_sched_clock_irqThis function is invoked from each scheduling-clock interrupt,* and checks to see if this CPU is in a non-context-switch quiescent* state, for example, user mode or idle loop. It also schedules RCU* core processing
rcu_corePerform RCU core processing work for the current CPU.
rcu_sched_clock_irqCheck to see if the scheduling-clock interrupt came from an extended* quiescent state, and, if so, tell RCU about it. This function must* be called from hardirq context. It is normally called from the* scheduling-clock interrupt.
print_cpu_stall
rcu_exp_need_qsRequest an expedited quiescent state.