Subject: Re: new pid allocation - any advantages?
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 03/21/2003 15:38:22
In article <200303211131.h2LBVUO10127@s102-n054.tele2.cz>,
Jaromir Dolecek <email@example.com> 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()...