Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:58:08 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dup_mm() - duplicates an existing mm structure*@tsk: the task_struct with which the new mm will be associated.*@oldmm: the mm to duplicate.* Allocates a new mm structure and duplicates the provided @oldmm structure* content into it.
Proto:static struct mm_struct *dup_mm(struct task_struct *tsk, struct mm_struct *oldmm)
Type:struct mm_struct
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | tsk | |
struct mm_struct * | oldmm |
1351 | mm = allocate_mm() |
1352 | If Not mm Then Go to fail_nomem |
1355 | No 3D Now!(mm, oldmm, size of mm ) |
1357 | If Not mm_init(mm, tsk, user_ns) Then Go to fail_nomem |
1364 | High-watermark of RSS usage = get_mm_rss(mm) |
1367 | If binfmt && Not try_module_get(module) Then Go to free_pt |
1370 | Return mm |
1372 | free_pt : |
1374 | binfmt = NULL |
1375 | mm_init_owner(mm, NULL) |
1378 | fail_nomem : |
1379 | Return NULL |
Name | Describe |
---|---|
copy_mm | |
copy_init_mm |
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 |