Function report |
Source Code:kernel\kthread.c |
Create Date:2022-07-28 09:30:15 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__kthread_create_on_node
Proto:static __printf(4, 0) struct task_struct *__kthread_create_on_node(int (*threadfn)(void *data), void *data, int node, const char namefmt[], va_list args)
Type:struct task_struct
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int (* | threadfn | |
| void * | data | |
| int | node | |
| const char | namefmt | |
| va_list | args |
| 298 | Lockdep needs to run a non-constant initializer for on-stack* completions - so we use the _ONSTACK() variant for those that* are on the kernel stack:(done) |
| 300 | create = Allocation memory |
| 310 | spin_lock( & kthread_create_lock) |
| 312 | spin_unlock( & kthread_create_lock) |
| 336 | static const struct sched_param param = {sched_priority = 0} |
| 344 | set_task_comm(task, name) |
| 353 | Return task |
| Name | Describe |
|---|---|
| kthread_create_on_node | kthread_create_on_node - create a kthread |
| __kthread_create_worker |
| 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 |