函数逻辑报告 |
Source Code:kernel\sched\core.c |
Create Date:2022-07-27 10:36:21 |
Last Modify:2022-05-22 13:40:38 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Perform scheduler related setup for a newly forked process p.* p is forked by current.* __sched_fork() is basic setup used by init_idle() too:
函数原型:static void __sched_fork(unsigned long clone_flags, struct task_struct *p)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | clone_flags | |
struct task_struct * | p |
2686 | 归属队列等于0 |
2688 | on_rq等于0 |
2689 | exec_start等于0 |
2690 | sum_exec_runtime等于0 |
2691 | prev_sum_exec_runtime等于0 |
2692 | nr_migrations等于0 |
2693 | vruntime等于0 |
2694 | 初始化链表头 |
2705 | RB_CLEAR_NODE( & rb_node) |
2706 | init_dl_task_timer( & dl) |
2707 | init_dl_inactive_task_timer( & dl) |
2708 | __dl_clear_params(p) |
2710 | 初始化链表头 |
2711 | timeout等于0 |
2712 | time_slice等于sched_rr_timeslice |
2713 | on_rq等于0 |
2714 | on_list等于0 |
2723 | init_numa_balancing(clone_flags, p) |
名称 | 描述 |
---|---|
sched_fork | 调度进程 |
init_idle | _idle - set up an idle thread for a given CPU*@idle: task in question*@cpu: CPU the idle task belongs to* NOTE: this function does not set the idle thread's NEED_RESCHED* flag, to make booting more robust. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |