From owner-cvs-all Mon Jan 29 4:49: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1DA9937B402; Mon, 29 Jan 2001 04:48:42 -0800 (PST) Received: (from bp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0TCmg157616; Mon, 29 Jan 2001 04:48:42 -0800 (PST) (envelope-from bp) Message-Id: <200101291248.f0TCmg157616@freefall.freebsd.org> From: Boris Popov Date: Mon, 29 Jan 2001 04:48:41 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_malloc.c src/sys/sys malloc.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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