Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:57:33 |
| Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_thread_stack_node
Proto:static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk | |
| int | node |
| 260 | page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online. |
| 263 | If Value is more likely to compile time(page) Then |
| 264 | pointer of stack = page_address(page) |
| 265 | Return pointer of stack |
| 267 | Return NULL |
| Name | Describe |
|---|---|
| dup_task_struct | Replication process and set stack |
| 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 |