Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:58:45 |
| Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Create a kernel thread.
Proto:pid_t kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
Type:pid_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int (* | fn | |
| void * | arg | |
| unsigned long | flags |
| 2501 | struct kernel_clone_args args = {flags = ((flags | set if VM shared between processes | set if the tracing process can't force CLONE_PTRACE on this clone ) & ~signal mask to be sent at exit ), exit_signal = (flags & signal mask to be sent at exit ), stack = (unsigned long)fn, stack_size = (unsigned long)arg, } |
| 2508 | Return fork routine |
| Name | Describe |
|---|---|
| call_usermodehelper_exec_sync | Handles UMH_WAIT_PROC. |
| call_usermodehelper_exec_work | We need to create the usermodehelper kernel thread from a task that is affine* to an optimized set of CPUs (or nohz housekeeping ones) such that they* inherit a widest affinity irrespective of call_usermodehelper() callers with |
| create_kthread | |
| rest_init |
| 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 |