[patch-2.3.40-pre6] nfds limit for poll() raised to 131 million (is that enough?)

Tigran Aivazian tigran en sco.COM
Vie Ene 21 08:30:43 CST 2000


On Thu, 20 Jan 2000, Jamie Lokier wrote:

> Tigran Aivazian wrote:
> > Well, do_poll() only walks through one element at a time so it can
> > walk through the (say, linked list?) of slab'd pollfd objects one at a
> > time.
> 
> If you're feeling really dirty, the slab allocator's free list provides
> objects ready linked ;-)

I thought of that as well. But it won't work because our linked lists are
per sys_poll() invocation. We must build a linked list inside sys_poll()
that other callers know nothing about.

Regards,
Tigran.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda