Subject: Re: poll(2) oddity
To: David Laight <david@l8s.co.uk>
From: Bill Sommerfeld <sommerfeld@netbsd.org>
List: tech-userlevel
Date: 07/07/2002 18:37:57
> Could it be coded so that the list is read in chunks and
> the main data area only allocated for slots with non -ve
> fd numbers?

So, in the common case (all slots in the poll array are in use), this
(a) needs more space, and (b) takes more time.  Slowing down the
common case to speed up uncommon cases is generally considered a bad
design tradeoff.

						- Bill