Messages in this thread | | | Date | Tue, 16 Jan 2001 11:40:18 +0100 | From | Felix von Leitner <> | Subject | Re: Is sendfile all that sexy? |
| |
Thus spake Albert D. Cahalan (acahalan@cs.uml.edu): > Rather than combining open() with sendfile(), it could be combined > with stat(). Since the syscall would be new anyway, it could skip > the normal requirement about returning the next free file descriptor > in favor of returning whatever can be most quickly found.
I don't know how Linux does it, but returning the first free file descriptor can be implemented as O(1) operation.
Felix - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |