Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-28 05:59:47
Last Modify:2021-07-28 10:30:23 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_tsk_need_resched

Proto:static inline void set_tsk_need_resched(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
1762  Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
Caller
NameDescribe
set_nr_and_not_polling
resched_currsched_curr - mark rq's current task 'to be rescheduled now'.* On UP this means the setting of the need_resched flag, on SMP it* might also involve a cross-CPU call to trigger the scheduler on* the target CPU.
idle_inject_timer_fn
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.