Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:58:09 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:copy_mm
Proto:static int copy_mm(unsigned long clone_flags, struct task_struct *tsk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | clone_flags | |
struct task_struct * | tsk |
1387 | MM fault and swap info: this can arguably be seen as either mm-specific or thread-specific: = maj_flt = 0 |
1388 | Context switch counts: = nivcsw = 0 |
1394 | mm = NULL |
1395 | active_mm = NULL |
1403 | If Not oldmm Then Return 0 |
1407 | vmacache_flush(tsk) |
1409 | If clone_flags & set if VM shared between processes Then |
1412 | Go to good_mm |
1417 | If Not mm Then Go to fail_nomem |
1420 | good_mm : |
1423 | Return 0 |
1425 | fail_nomem : |
1426 | Return retval |
Name | Describe |
---|---|
copy_process | Create a new process |
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 |