On Tue, 16 Jan 2001, Felix von Leitner wrote: > I don't know how Linux does it, but returning the first free file > descriptor can be implemented as O(1) operation. only if special allocation patters are assumed. Otherwise it cannot be a generic O(1) solution. The first-free rule adds an implicit ordering to the file descriptor space, and this order cannot be maintained in an O(1) way. Linux can allocate up to a million file descriptors. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: 'native files', 'object finger... Pavel Machek
- Re: 'native files', 'object finger... Pavel Machek
- Re: [patch] sendpath() support, 2.... Ingo Molnar
- Re: [patch] sendpath() support, 2.... dean gaudet
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Albert D. Cahalan
- Re: Is sendfile all that sexy? Linus Torvalds
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? Peter Samuelson
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Ingo Molnar
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? Jamie Lokier
- Re: Is sendfile all that sexy? Felix von Leitner
- Re: Is sendfile all that sexy? David L. Parsley
- Re: Is sendfile all that sexy? Jakub Jelinek
- Re: Is sendfile all that sexy? David L. Parsley
- RE: Is sendfile all that sexy? Laramie Leavitt
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Sasi Peter