Linux Operating System Source Code: IBM Patches

 
fast PID allocation
Description:
This is an alternative version of getpid, that for large thread counts ( > 220000), provides "significantly" better performance. This is particulary viable for PID_MAX=32768. Note under the current algorithm, allocating the last pid will take 32 seconds (!!!) on a 500MHZ P-III.
Developer:
Hubertus Franke
Status:
Submitted to project
Release Notes Date Files
2.5.7 Release Notes 2002-04-01  
  File Notes   fast_getpid-2.5.7.patch.gz