Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:36:20 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Actually do priority change: must hold pi & rq lock.
Proto:static void __setscheduler(struct rq *rq, struct task_struct *p, const struct sched_attr *attr, bool keep_boost)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct rq * | rq | |
struct task_struct * | p | |
const struct sched_attr * | attr | |
bool | keep_boost |
4728 | If sched_flags & SCHED_FLAG_KEEP_PARAMS Then Return |
4731 | __setscheduler_params(p, attr) |
4738 | If keep_boost Then prio = rt_effective_prio(p, prio) |
4741 | If dl_prio(prio) Then sched_class = dl_sched_class |
4743 | Else if rt_prio(prio) Then sched_class = rt_sched_class |
4745 | Else sched_class = fair_sched_class |
Name | Describe |
---|---|
__sched_setscheduler |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |