porting the Linux "mempool" mechanism to freeBSD memroy management system.

Xin Li delphij at delphij.net
Thu Dec 8 00:00:53 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/07/11 15:29, Liu Wang wrote:
> Any help would be appreciated in porting the following Linux
> "mempool" mechanism to freeBSD memroy management system.
> 
> mempool_t AOC_mempool;
> 
> mempool_alloc( ... ) mempool_free( ... ) mempool_destroy( ... )

Will the FreeBSD uma(9) API do similar thing for you, or do you want a
set of as-is conversion macros?

Cheers,
- -- 
Xin LI <delphij at delphij.net>	https://www.delphij.net/
FreeBSD - The Power to Serve!		Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7f/jMACgkQOfuToMruuMAvWwCfaajtM5KiGdr7AiBEBapn0V9v
9KAAn0pHJJDu1g8vEWV281hlF1NmYkJH
=rgN+
-----END PGP SIGNATURE-----


More information about the freebsd-drivers mailing list