Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2011 16:00:51 -0800
From:      Xin Li <delphij@delphij.net>
To:        Liu Wang <liuw@supermicro.com>
Cc:        d@delphij.net, "freebsd-drivers@freebsd.org" <freebsd-drivers@freebsd.org>
Subject:   Re: porting the Linux "mempool" mechanism to freeBSD memroy management system.
Message-ID:  <4EDFFE33.1040809@delphij.net>
In-Reply-To: <09F85D53A2F0C547BF5E05E214DB880A23CA256CC5@MAIL5.supermicro.com>
References:  <09F85D53A2F0C547BF5E05E214DB880A23C8BDBCA2@MAIL5.supermicro.com> <20111115235457.GY25601@funkthat.com> <09F85D53A2F0C547BF5E05E214DB880A23CA256CC5@MAIL5.supermicro.com>

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



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