On Mon, Aug 11, 2003 at 06:43:27PM -0400, Craig Rodrigues wrote:
> 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?

  Take a look at zone(9) in -current.  It has been updated, more or
  less.  Otherwise, glance at src/sys/vm/uma.h, which is decently
  documented for what concerns exported API.

  You shouldn't have to touch 'vm_zone' directly (it doesn't exist
  anymore).

> Thanks.
> -- 
> Craig Rodrigues        
> http://crodrigues.org
> [EMAIL PROTECTED]

-- 
Bosko Milekic  *  [EMAIL PROTECTED]  *  [EMAIL PROTECTED]
TECHNOkRATIS Consulting Services  *  http://www.technokratis.com/
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to