2001-04-04 06:50:34

by alad

[permalink] [raw]
Subject: get_pid() : enahancement



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



2001-04-04 11:03:43

by Alan

[permalink] [raw]
Subject: Re: get_pid() : enahancement

> 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