lkml.org 
[lkml]   [2000]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Polling on more than 16000 file descriptors
On 18 Jan 2000, Andi Kleen wrote:
> or better rework the poll interface to support a linked list of poll
> blocks.

or use kmalloc() all the time allocating pollfds in chunks, like I
described in previous message. In fact, this morning I mailed to
Alan privately mentioning three approaches -

a) my very first attempt (kmalloc if <128K, vmalloc otherwise)
not a good idea for fragmentation reasons, as you say.

b) chunk-ed allocation (so far I believe is the best)

c) adjusting slab to allow 256K (see my earlier patch, again a bad
idea for the same reasons as a).

So, unless I see something definitely superior to b) I am going to do it.

Regards,
Tigran.




-
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.100 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site