[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kernel malloc



Hi,

in malloc(9) you can find that if using kernel malloc with M_WAITOK, it
can never return NULL. Is this true in 100% of the cases? I'm doing a
return value check of kernelland and there are quite a few cases where the
return value is still checked when using M_WAITOK.

Could anyone make this clear?

Thanks

//Wouter