From owner-freebsd-arch Tue Feb 4 20:30:25 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 7100337B405 for ; Tue, 4 Feb 2003 20:30:24 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D0C643F79 for ; Tue, 4 Feb 2003 20:30:24 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 06D122A8C1; Tue, 4 Feb 2003 20:30:24 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: arch@freebsd.org Subject: Re: New kernel allocation API In-Reply-To: Date: Tue, 04 Feb 2003 20:30:24 -0800 From: Peter Wemm Message-Id: <20030205043024.06D122A8C1@canning.wemm.org> 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 Dag-Erling Smorgrav wrote: > --=-=-= > > The attached patch creates two new entry points for malloc(), named > kalloc() and kalloc_nowait(), eliminating the need for the M_NOWAIT > and M_TRYWAIT constants. The patch also defines malloc() as a macro > which invokes the appropriate API function, so source-level > compatibility is maintained. The current bikeshed is about the mbuf functions as well, not just the malloc function.. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message