From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 15:43:32 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E14F537B401 for ; Mon, 11 Aug 2003 15:43:32 -0700 (PDT) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7945643FDF for ; Mon, 11 Aug 2003 15:43:28 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1])h7BMhS5u031057 for ; Mon, 11 Aug 2003 18:43:28 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)h7BMhSOl031056 for freebsd-current@freebsd.org; Mon, 11 Aug 2003 18:43:28 -0400 (EDT) Date: Mon, 11 Aug 2003 18:43:27 -0400 From: Craig Rodrigues To: freebsd-current@freebsd.org Message-ID: <20030811224327.GA30982@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: Porting 4.x code to 5.x: zfreei, zinit, struct vm_zone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 22:43:33 -0000 Hi, I am trying to port Randall Stewart's SCTP implementation from -STABLE to -CURRENT. The code makes use of zfreei(), zinit(), etc. and struct vm_zone. How can I port this code to -CURRENT? Can I start by replacing these calls be directly replaced with the uma_* versions: zinit -> uma_zcreate zfreei -> uma_zfree How do I deal with the struct vm_zone? Thanks. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org