[PATCH] Polling > 16000 FDs

From: Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Date: Sat Jan 08 2000 - 06:42:15 EST


Here's a patch for the problem with polling more than 16000 file
descriptors. The problem was that kmalloc() wouldn't let us allocate more
room than 131072 bytes at a time. I modified sys_poll() so that it will
allocation at most 131072 bytes and, if need be, loop to handle more file
descriptors using the same alloced space.

I checked it out and it ran for me. See what it does for you :-).

        Bill



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:12 EST