Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 18:43:27 -0400
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-current@freebsd.org
Subject:   Porting 4.x code to 5.x: zfreei, zinit, struct vm_zone
Message-ID:  <20030811224327.GA30982@crodrigues.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030811224327.GA30982>