lkml.org 
[lkml]   [1997]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file ID redesign proposal
Ingo Molnar wrote:
> everything would be O(1), 'except' old_open() and old_dup()/dup2(). Bad
> idea?

And socket(), accept()... anything else which can return an fd. It
looks pretty ugly.

Put it this way: when Linus changed the bahaviour of select, I was
surprised that anything really noticed, but it had to be changed back
for compatibility. This "lowest next free" behaviour is much more
firmly entrenched. I agree that emulating it sucks as far as
performance goes, but there you are. Allocation and use of pids is
similar...

J

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.030 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site