[lkml]   [2000]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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.

-- Jamie

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans