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

From: Tigran Aivazian (tigran@sco.COM)
Date: Thu Jan 20 2000 - 12:01:57 EST


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@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:22 EST