I know. I was suggesting a syscall to better support it.
> Having a system call would make tmpfile more efficient, but I can't
> think of any programs creating so many temporary files that a system
> call would make a noticable difference.
The syscall would be faster, mostly because it doesn't have to do a
linear search through the directory looking for a file with the same
name - it just allocates an inode. If the file name is not actually
needed, why spending time creating it?
Tudor
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu