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

From: OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Date: Tue Mar 05 2002 - 12:57:36 EST


"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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:00:44 EST