Re: Fwd: [Lse-tech] get_pid() performance fix

OGAWA Hirofumi
2002-03-05T17:58:22Z

"Rajan Ravindran" <rajancr@us.ibm.com> writes:

> Yes, pid's are guaranteed to be unique.
> Here the problem we focused is the time taken in finding the next
> available free pid.
> I really don't mean by your task->xxx.

I'm confused.

I said:
task { pid = 300, pgrp = 301, };
301 is free;

get_pid() returns 301.

"task 301" can't call setsid(). pid 301 is available?
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>