adding new O_* flags

Nicolas Thery nthery at
Wed Aug 5 02:01:08 PDT 2009

2009/8/5 Matthew Dillon <dillon at>:
>    This is hard, because a lot of those flags are also passed to the
>    I/O routines (particularly the non-blocking control flags).
>    I definitely do not want to use a 64 bit flags field, that will
>    generate truely horrible code on i386.
>    We may be able to move some of the flags elsewhere.  FMARK, FDEFER,
>    and FHASLOCK come to mind.  It might also be possible to do something
>    with O_ROOTCRED.
>    I think moving FMARK, FDEFER, and FHASLOCK is the best bet.

Okay.  Thanks for the answer.  I'll look into this.


More information about the Kernel mailing list