[PATCH] Polling > 16000 FDs, Take 2

From: Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Date: Mon Jan 10 2000 - 03:27:16 EST


Here is a solution to the problem of polling > 16000 file descriptors at
a time. It uses the `vmalloc()' solution which was discussed earlier. I
couldn't get the `linked list' solution to work. I've included the patch
which works (patch-16000.poll) to be added and the one which doesn't
(patch-16000.poll.bad.gz) in case people would like to futz with it and
make it work more efficiently than the vmalloc solution.

In brief, the "bad" patch seems to cause excessive pollings on files for
some programs. Specifically, when booting my computer, it seems to do
this for the AMD and Linuxconf stuff (Yes, I have RedHat). It also does
it when I run `mutt'.

Share and enjoy!
        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:15 EST