Re: accept() improvements for rt signals

From: Dean Gaudet (dgaudet-list-linux-kernel@arctic.org)
Date: Tue Feb 22 2000 - 14:07:05 EST


On Tue, 22 Feb 2000, Jamie Lokier wrote:

> On that theme, the form of accept2() where you provide a pre-prepared
> socket recycled from a previously shut down client has another
> scalability advantage:
>
> The kernel does not have to search the fd array to find the smallest
> free fd value.

it'd be easier to just have a personality or other such task flag
indicating that the task doesn't need the smallest-free-fd semantic; and
then the kernel could just maintain a free list for the task. (if this is
even a performance problem)

Dean

-
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 : Wed Feb 23 2000 - 21:00:31 EST