Subject: Re: new pid allocation - any advantages?
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 03/21/2003 15:38:22
In article <200303211131.h2LBVUO10127@s102-n054.tele2.cz>,
Jaromir Dolecek <firstname.lastname@example.org> wrote:
>The only place where I see pfind()/pgfind() being used on common
>code path is in kill(2). Otherwise they are used in ioctl/ktrace/setup
>code, which not done frequently enough to matter. So speeding up
>pfind()/pgfind() doesn't seem to be really a priority, IMHO.
>If the only aim is to speed up pfind(), this could be easily
>done with a hash - PIDs have very good distribution.
ioctl() is called quite frequently (job control shells call it on
every command invocation). There is also the pfind() in selwakeup()...