Function report |
Source Code:mm\mempolicy.c |
Create Date:2022-07-28 15:33:24 |
Last Modify:2020-03-17 22:28:11 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Drop the (possibly final) reference to task->mempolicy. It needs to be* dropped after task->mempolicy is set to NULL so that any allocation done as* part of its kmem_cache_free(), such as by KASAN, doesn't reference a freed* policy.
Proto:void mpol_put_task_policy(struct task_struct *task)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task |
2482 | mempolicy = NULL |
2483 | task_unlock(task) |
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 |