Function report | 
Source Code:kernel\exit.c | 
Create Date:2022-07-28 09:03:05 | 
| Last Modify:2020-03-17 11:17:32 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:A task is exiting. If it owned this mm, find a new owner for the mm.
Proto:void mm_update_next_owner(struct mm_struct *mm)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mm_struct * | mm | 
| 349 | p = current process | 
| 351 | retry : | 
| 365 | Return | 
| 368 | read_lock( & tasklist_lock) | 
| 373 | If mm == mm Then Go to assign_new_owner | 
| 381 | If mm == mm Then Go to assign_new_owner | 
| 389 | If Per task flags (PF_*), defined further below: & I am a kernel thread Then Continue | 
| 391 | for_each_thread(g, c) | 
| 392 | If mm == mm Then Go to assign_new_owner | 
| 394 | If mm Then Break | 
| 398 | read_unlock( & tasklist_lock) | 
| 405 | Return | 
| 407 | assign_new_owner : | 
| 409 | get_task_struct(c) | 
| 419 | read_unlock( & tasklist_lock) | 
| 426 | task_unlock(c) | 
| 427 | put_task_struct(c) | 
| Name | Describe | 
|---|---|
| exit_mm | Turn us into a lazy TLB process if we* aren't already.. | 
| 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  |