Function report |
Source Code:kernel\sched\sched.h |
Create Date:2022-07-28 05:59:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rq_lock
Proto:static inline void rq_lock(struct rq *rq, struct rq_flags *rf)__acquires(rq->lock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct rq * | rq | |
| struct rq_flags * | rf |
| 1215 | raw_spin_lock( & runqueue lock: ) |
| 1216 | rq_pin_lock(rq, rf) |
| Name | Describe |
|---|---|
| ttwu_queue | |
| scheduler_tick | This function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled. |
| __schedule | __schedule() is the main scheduler function.* The main means of driving the scheduler and thus entering this function are:* 1. Explicit blocking: mutex, semaphore, waitqueue, etc.* 2. TIF_NEED_RESCHED flag is checked on interrupt and userspace return |
| task_fork_fair | alled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled |
| 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 |