Skip to contentSkip to conversation

get_pid() : enahancement

DISCUSSION [email protected] 2 participants 2 messages Apr 4, 2001

lore
Share & tools
lore
#0 lore raw

In 2.4 kernel we now have no limit on the number of tasks running on a system (no NR_TASKS anymore)...

I was just wondering on the efficiency of get_pid() implemetation... Although 'next_safe' concept in this function seems useful but I think we now need a robust PID allocator..

We can have a discussion so that get_pid() can be made more effecient in future kernel.

Amol

#1 lore raw
Quoted 3 lines

I was just wondering on the efficiency of get_pid() implemetation... Although 'next_safe' concept in this function seems useful but I think we now need a robust PID allocator..

get_pid() isnt showing up on kernel profile runs I've seen, and that doesn't actually suprise me. Its not a normal hot path