Re: [PATCH] O_STREAMING - flag for optimal streaming I/O

From: Jamie Lokier (
Date: Wed Oct 09 2002 - 19:16:41 EST

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
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:34 EST