[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel/fork.c fork_init() ?



hi
 (kernel version : 2.6.17)

 init_task.signal->rlim[RLIMIT_NPROC].rlim_max = max_threads/2;
     ok .no prob . ( limits for the init_task set at half of max_threads ) .

 init_task.signal->rlim[RLIMIT_NPROC].rlim_cur = max_threads/2;
  why ? . is it necessary ?

thx for you attention .

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/