看板 DFBSD_commit 關於我們 聯絡資訊
: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>