Function report |
Source Code:kernel\fork.c |
Create Date:2022-07-28 08:57:51 |
Last Modify:2020-03-17 11:04:53 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:fork_init
Proto:void __init fork_init(void)
Type:void
Parameter:Nothing
810 | align = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(int, L1_CACHE_BYTES, ARCH_MIN_TASKALIGN) |
814 | task_struct_whitelist( & useroffset, & usersize) |
815 | task_struct_cachep = kmem_cache_create_usercopy("task_struct", arch_task_struct_size, align, Panic if kmem_cache_create() fails | SLAB_ACCOUNT, useroffset, usersize, NULL) |
822 | arch_task_cache_init() |
824 | set_max_threads |
826 | rlim_cur = unable limit on nr_threads / 2 |
827 | rlim_max = unable limit on nr_threads / 2 |
828 | rlim[RLIMIT_SIGPENDING] = rlim[RLIMIT_NPROC] |
831 | When i < UCOUNT_COUNTS cycle |
832 | ucount_max[i] = unable limit on nr_threads / 2 |
840 | lockdep_init_task( & init_task) |
841 | uprobes_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 |