函数逻辑报告 |
Source Code:arch\x86\kernel\process_32.c |
Create Date:2022-07-27 08:29:06 |
Last Modify:2022-05-18 16:43:57 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:switch_to(x,y) should switch tasks from x to y
函数原型:__visible __notrace_funcgraph struct task_struct *__switch_to(struct task_struct *prev_p, struct task_struct *next_p)
返回类型:struct task_struct
参数:
类型 | 参数 | 名称 |
---|---|---|
struct task_struct * | prev_p | |
struct task_struct * | next_p |
183 | lazy_save_gs(gs) |
205 | refresh_sysenter_cs(next) |
206 | 抢占保护下的写CPU(cpu_current_top_of_stack, (unsignedlong)task_stack_page(next_p) + THREAD_SIZE) |
213 | 如果gs按位或gs则lazy_load_gs(gs) |
216 | 抢占保护下的写CPU(current_task, next_p) |
221 | resctrl_sched_in() |
223 | 返回:prev_p |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |