Messages in this thread | | | Date | Tue, 18 Jan 2000 17:49:18 +0100 | From | Jamie Lokier <> | Subject | Re: [Patch] Polling on more than 16000 file descriptors |
| |
Tigran Aivazian wrote: > But, even better than your idea (dare I say :) is to have chunked > allocation and using kmalloc() all the time, something like (roughly): > > #define POLL_PER_CHUNK 16000 > #define POLL_NCHUNKS 8
If you're going that, you may as well use PAGE_SIZE allocations. And then you may as well link the pages together using a pointer at the start, to remove the arbitrary limit.
enjoy, -- Jamie
- 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/
| |