From owner-freebsd-arch Fri Feb 7 3:28:41 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C12D137B401 for ; Fri, 7 Feb 2003 03:28:40 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id A519243F85 for ; Fri, 7 Feb 2003 03:28:36 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 86205536E; Fri, 7 Feb 2003 12:28:33 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Gary Thorpe Cc: Jeff Roberson , Julian Elischer , Peter Wemm , arch@FreeBSD.ORG Subject: Re: New kernel allocation API From: Dag-Erling Smorgrav Date: Fri, 07 Feb 2003 12:28:33 +0100 In-Reply-To: <20030206193815.71344.qmail@web41205.mail.yahoo.com> (Gary Thorpe's message of "Thu, 6 Feb 2003 14:38:15 -0500 (EST)") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <20030206193815.71344.qmail@web41205.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gary Thorpe writes: > Also, with more arguments, the programmer can make more mistakes. What > happens if the wrong size is passed to free? It should still work, but > it will be slower right? Ideally, it will cause a panic when compiled with INVARIANTS. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message