On 24/01/2018 13:40, Hans Petter Selasky wrote:
On 01/24/18 19:28, Warner Losh wrote:
Does mallocarray(10 ,1Gb) panic on i386? It does not. It should.

Hi,

If M_WAITOK is specified, then sleep forever and print a message.
Else return NULL ?


FWIW, I suggested a panic for M_WAITOK and returning NULL for M_NOWAIT, but cem didn't like it because it was inconsistent.

I think the current argument is more about the size/trigger than the behavior though.

Cheers,
Pedro.

_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to