Messages in this thread | | | Date | Thu, 10 Oct 2002 01:16:41 +0100 | From | Jamie Lokier <> | Subject | Re: [PATCH] O_STREAMING - flag for optimal streaming I/O |
| |
Rik van Riel wrote: > > I would say - if you are picking a new flag that doesn't need to have > > compatibility with any platform-specific existing flag, simply set them > > all high enough so that they are the same on all platforms. > > Doesn't really matter, you can't run x86 binaries on MIPS so > you need to recompile anyway. > > Source level compatibility is enough for flags like this.
Using the _same_ flag on different architectures can simplify the kernel source, though. Just imagine, a set of O_* definitions in <linux/fcntl.h> instead of them being duplicated, with different definitions, throughout <asm-*/fcntl.h>.
-- Jamie - 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/
| |