public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RFC: poll change
@ 2001-08-14 21:08 Tim Hockin
  2001-08-14 21:43 ` David S. Miller
  2001-08-14 22:03 ` RFC: poll change - nevermind Tim Hockin
  0 siblings, 2 replies; 11+ messages in thread
From: Tim Hockin @ 2001-08-14 21:08 UTC (permalink / raw)
  To: Linux Kernel Mailing List

hey all, I have a request from someone to investigate this.

poll() currently does not allow you to pass more fd's than you have open. 
At first this seems reasonable.  However, I have seen now at least one app
that takes advantage of a behavior found on some poll() implementations (I
don't have the standard available..).

On these systems, you may pass in as many fds as you want, and any
structure with the fd member set to < 0 is ignored.  This allows apps to
save on allocating and re-allocating, or sorting the fd arrays.

What would the feeling be if I implemented this for Linux?

Tim
-- 
Tim Hockin
Systems Software Engineer
Sun Microsystems, Cobalt Server Appliances
thockin@sun.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-08-15 10:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-14 21:08 RFC: poll change Tim Hockin
2001-08-14 21:43 ` David S. Miller
2001-08-14 22:38   ` Herbert Xu
2001-08-14 22:42     ` David S. Miller
2001-08-15  0:03       ` Andrea Arcangeli
2001-08-15  0:06         ` David S. Miller
2001-08-15  0:16           ` Andrea Arcangeli
2001-08-15  0:23             ` David S. Miller
2001-08-15 10:40       ` David Schwartz
2001-08-14 22:03 ` RFC: poll change - nevermind Tim Hockin
2001-08-14 22:47   ` Andrea Arcangeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox