>There was some talk about the fact that malloc(..M_CANWAIT) >can now return with a failure.
You mean M_WAITOK. >Is that true? Of course not. It is fundamental that malloc(..., M_WAITOK) either succeeds or panics. Most callers depend on this and don't check for success. The others are bogus. You may be thinking of the documented but unimplemented new flag M_ASLEEP. It's hard to see what this does (since it is unimplemented), but the docs say to only use it with M_NOWAIT. Bruce To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message