Date: Tue, 04 Dec 2007 17:17:51 -0800 From: Xin LI <delphij@delphij.net> To: Bubble Reading <bubblereading@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Slab Allocator And Wait Queues Message-ID: <4755FC3F.5020706@delphij.net> In-Reply-To: <a65132710712040624n47c41bb0sa3727e7cd53897be@mail.gmail.com> References: <a65132710712040624n47c41bb0sa3727e7cd53897be@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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@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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4755FC3F.5020706>