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

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
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 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/



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