Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:28
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_nr_and_not_polling

Proto:static bool set_nr_and_not_polling(struct task_struct *p)

Type:bool

Parameter:

TypeParameterName
struct task_struct *p
402  set_tsk_need_resched(p)
403  Return true
Caller
NameDescribe
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.