Re: adding new O_* flags
2009/8/5 Matthew Dillon <dillon@apollo.backplane.com>:
> =A0 =A0This is hard, because a lot of those flags are also passed to the
> =A0 =A0I/O routines (particularly the non-blocking control flags).
>
> =A0 =A0I definitely do not want to use a 64 bit flags field, that will
> =A0 =A0generate truely horrible code on i386.
>
> =A0 =A0We may be able to move some of the flags elsewhere. =A0FMARK, FDEF=
ER,
> =A0 =A0and FHASLOCK come to mind. =A0It might also be possible to do some=
thing
> =A0 =A0with O_ROOTCRED.
>
> =A0 =A0I think moving FMARK, FDEFER, and FHASLOCK is the best bet.
Okay. Thanks for the answer. I'll look into this.
Cheers,
Nicolas
討論串 (同標題文章)