Searched refs:pid_max (Results 1 – 12 of 12) sorted by relevance
| /linux-6.15/kernel/ |
| H A D | pid.c | 84 .pid_max = PID_MAX_DEFAULT, 191 int pid_max = READ_ONCE(tmp->pid_max); in alloc_pid() local 197 if (tid < 1 || tid >= pid_max) in alloc_pid() 237 pid_max, GFP_ATOMIC); in alloc_pid() 723 .data = &init_pid_ns.pid_max, 743 tbl->data = &pidns->pid_max; in register_pidns_sysctls() 744 pidns->pid_max = min(pid_max_max, max_t(int, pidns->pid_max, in register_pidns_sysctls() 776 init_pid_ns.pid_max = min(pid_max_max, max_t(int, init_pid_ns.pid_max, in pid_idr_init() 780 pr_info("pid_max: default: %u minimum: %u\n", init_pid_ns.pid_max, pid_max_min); in pid_idr_init()
|
| H A D | pid_namespace.c | 110 ns->pid_max = PID_MAX_LIMIT; in create_pid_namespace() 298 tmp.extra2 = &pid_ns->pid_max; in pid_ns_ctl_handler() 313 .extra2 = &init_pid_ns.pid_max,
|
| /linux-6.15/tools/testing/selftests/clone3/ |
| H A D | clone3_set_tid.c | 148 int pid_max = 0; in main() local 166 fscanf(f, "%d", &pid_max); in main() 168 ksft_print_msg("/proc/sys/kernel/pid_max %d\n", pid_max); in main() 250 set_tid[0] = pid_max; in main()
|
| /linux-6.15/tools/testing/selftests/pid_namespace/ |
| H A D | .gitignore | 1 pid_max
|
| H A D | Makefile | 4 TEST_GEN_PROGS = regression_enomem pid_max
|
| /linux-6.15/include/linux/ |
| H A D | pid_namespace.h | 33 int pid_max; member
|
| /linux-6.15/tools/testing/kunit/test_data/ |
| H A D | test_is_test_passed-no_tests_run_no_header.log | 19 pid_max: default: 32768 minimum: 301
|
| H A D | test_output_isolated_correctly.log | 44 pid_max: default: 32768 minimum: 301
|
| /linux-6.15/kernel/trace/ |
| H A D | pid_list.c | 417 WARN_ON_ONCE(init_pid_ns.pid_max > (1 << 30)); in trace_pid_list_alloc()
|
| H A D | trace_sched_switch.c | 445 tgid_map_max = init_pid_ns.pid_max; in trace_alloc_tgid_map()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-sched.c | 445 static int pid_max; in register_pid() local 448 if (sysctl__read_int("kernel/pid_max", &pid_max) < 0) in register_pid() 449 pid_max = MAX_PID; in register_pid() 450 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid() 452 if (pid >= (unsigned long)pid_max) { in register_pid() 455 while (pid >= (unsigned long)pid_max) in register_pid() 456 sched->pid_to_task[pid_max++] = NULL; in register_pid()
|
| /linux-6.15/Documentation/admin-guide/sysctl/ |
| H A D | kernel.rst | 1042 pid_max chapter 1047 PIDs of value ``pid_max`` or larger are not allocated.
|