Re: adding new O_* flags

看板DFBSD_kernel作者時間16年前 (2009/08/05 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
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
文章代碼(AID): #1AUL6O5c (DFBSD_kernel)
文章代碼(AID): #1AUL6O5c (DFBSD_kernel)