kernel/fork.c fork_init() ?

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

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux