函数逻辑报告 |
Source Code:kernel\livepatch\transition.c |
Create Date:2022-07-27 11:31:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Sends a fake signal to all non-kthread tasks with TIF_PATCH_PENDING set.* Kthreads with TIF_PATCH_PENDING set are woken up.
函数原型:static void klp_send_signals(void)
返回类型:void
参数:无
347 | 如果klp_signals_cnt恒等于SIGNALS_TIMEOUT则打印注释信息("signaling remaining tasks\n") |
350 | read_lock( & tasklist_lock) |
352 | 如果非klp_patch_pending(task)则继续下一循环 |
361 | 如果任务标志按位与I am a kernel thread 则 |
366 | wake_up_state(task, 睡眠态) |
367 | 否则 |
377 | read_unlock( & tasklist_lock) |
名称 | 描述 |
---|---|
klp_try_complete_transition | Try to switch all remaining tasks to the target patch state by walking the* stacks of sleeping tasks and looking for any to-be-patched or* to-be-unpatched functions. If such functions are found, the task can't be* switched yet. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |