函数逻辑报告 |
Source Code:kernel\exit.c |
Create Date:2022-07-27 10:02:47 |
Last Modify:2020-03-17 11:17:32 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:A task is exiting. If it owned this mm, find a new owner for the mm.
函数原型:void mm_update_next_owner(struct mm_struct *mm)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm |
351 | retry : |
365 | 返回 |
368 | read_lock( & tasklist_lock) |
373 | 如果内存信息恒等于mm则转到:assign_new_owner |
381 | 如果内存信息恒等于mm则转到:assign_new_owner |
389 | 如果任务标志按位与I am a kernel thread 则继续下一循环 |
391 | for_each_thread(g, c) |
392 | 如果内存信息恒等于mm则转到:assign_new_owner |
398 | read_unlock( & tasklist_lock) |
405 | 返回 |
407 | assign_new_owner : |
409 | get_task_struct(c) |
419 | read_unlock( & tasklist_lock) |
426 | task_unlock(c) |
427 | put_task_struct(c) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |