Re: cvs commit: src/sys/kern kern_slaballoc.c

看板DFBSD_commit作者時間21年前 (2005/03/29 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/9 (看更多)
:I should sleep more. Matt, what do you think about truely separating the :M_NULLOK and M_RNOWAIT flags? Currently M_RNOWAIT implies M_NULLOK and :since the flags are created by sys/malloc.h anyway, we could :include M_NULLOK in the M_RNOWAIT cases. : :Joerg I think this is a legacy from the original FreeBSD code.. I created M_RNOWAIT as an internal flag because M_NOWAIT is no longer a single bit. I agree, we should be able to separate the functionality and simply add M_NULLOK to the M_INTNOWAIT and M_SYSNOWAIT. The only M_NULLOK would mean that NULL is an ok return value. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #12I4sm00 (DFBSD_commit)
討論串 (同標題文章)
文章代碼(AID): #12I4sm00 (DFBSD_commit)