adding new O_* flags
Nicolas Thery
nthery at gmail.com
Wed Aug 5 02:01:08 PDT 2009
2009/8/5 Matthew Dillon <dillon at apollo.backplane.com>:
> 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.
Cheers,
Nicolas
More information about the Kernel
mailing list