Slab Allocator And Wait Queues
Xin LI
delphij at delphij.net
Tue Dec 4 17:18:06 PST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bubble Reading wrote:
> Hi,
>
> Does someone know if there is something like Linux Slab Allocator and Linux
> Wait Queues in FreeBSD?
>
> I am trying to port a linux code to FreeBSD which makes use of these.
Do you mean kernel code or userland code?
For slab allocator, FreeBSD provided a mechanism called "UMA" which
provided similar functionality;
Wait queues... We usually use msleep(9) and wakeup(9), but I am not
sure if that is what you want...
Cheers,
- --
Xin LI <delphij at delphij.net> http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)
iD8DBQFHVfw/hcUczkLqiksRAjQSAJ9xvmj3MRQv8bpsg3Oho8DvxkHLEACgrO88
R0s3xkvutlYojeMq7moaVoU=
=Ry3O
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list