★ wanayoo — archive 1999 http://www.kernelnotes.org/patch/21-p0205.htmlNouvelle recherche | Portail wanayoo

Support for > 1024 fds

Andi Kleen (andi@mlm.extern.lrz-muenchen.de)
Tue Jan 21 13:36:00 1997

[Home] [Linux 2.0] [Linux 2.1] [Information] [Software] [Distributions] [Links]

21-1024fd.patch
Here is a new version of the patch to add support for more than 1024 files per process. I added a /proc/sys/kernel/nr-open now, so you can tune NR_OPEN dynamically now. Applications have still to be recompiled (with an appropiate -D__USER_FDSETSIZE value). All childs after a change in /proc/sys/kernel/nr-open will have a bigger file table. Please test this patch before I submit it to Linus. It is against 2.1.21. Especially it would be nice if someone with an Alpha could test it, to check that select() is still 64bit clean (it should, but I can't test it).

Please send all bug reports to me. It works on my workstations, but hasn't seen much testing. The patch contains some other small bits I didn't submit yet.




[Home] [Up] [Search] [FeedBack]

Copyleft © The LinuxHQ Project. Licensed under the GNU Public License.