Date: Mon, 29 Jan 2001 04:48:41 -0800 (PST) From: Boris Popov <bp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/sys malloc.h Message-ID: <200101291248.f0TCmg157616@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bp 2001/01/29 04:48:41 PST
Modified files:
sys/kern kern_malloc.c
sys/sys malloc.h
Log:
Add M_PANIC flag to the list of available flags passed to malloc().
With this flag set malloc() will panic if memory allocation failed.
This usable only in critical places where failed allocation is fatal.
Reviewed by: peter
Revision Changes Path
1.81 +7 -3 src/sys/kern/kern_malloc.c
1.52 +2 -1 src/sys/sys/malloc.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101291248.f0TCmg157616>
