Function report |
Source Code:kernel\sched\core.c |
Create Date:2022-07-28 09:35:37 |
| Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:switched_from, switched_to and prio_changed must _NOT_ drop rq->lock,* use the balance_callback list if you want balancing.* this means any call to check_class_changed() must be followed by a call to* balance_callback().
Proto:static inline void check_class_changed(struct rq *rq, struct task_struct *p, const struct sched_class *prev_class, int oldprio)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq * | rq | |
| struct task_struct * | p | |
| const struct sched_class * | prev_class | |
| int | oldprio |
| 1409 | If prev_class != sched_class Then |
| 1410 | If switched_from Then switched_from(rq, p) |
| 1413 | switched_to(rq, p) |
| 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 |