Messages in this thread | | | Date | Fri, 8 Jun 2007 14:01:50 +0100 | From | Alan Cox <> | Subject | Re: [patch 7/8] fdmap v2 - implement sys_socket2 |
| |
> Um, how cheap do you need it? get_random_int() is actually pretty > cheep, since it was designed to be usable by the networking stack for > sequence numbers for TCP packets; and it's not like sys_close() or > sys_open() is a majorly critical path, is it? If the concern is
At this point wouldn't it be cheaper to allocate file handles using a different algorithm than firing up the RNG - say like in the POSIX fashion ...
It seems every purpose of this fd stuff is now a failure when compared with existing behaviours.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |