lkml.org 
[lkml]   [2007]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 7/8] fdmap v2 - implement sys_socket2
On Sat, 9 Jun 2007, Linus Torvalds wrote:

> So I think both the FD_CLOEXEC _and_ the "private fd space" are real
> issues. I don't agree with the "random fd" approach. I'd much rather have
> a non-random setup for the nonlinear ones (it just shouldn't be linear).

That is fine for me. So what about the randomness?

A) Don't do it at all

B) Let userspace select it in some way globally

C) Let userspace select it per-fd (this won't be an O(1) anymore though)




- Davide


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

\
 
 \ /
  Last update: 2007-06-09 22:35    [W:1.901 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site