Re: RFC: Slab-o-rama (after Rene's suggestion)
"Axel Dörfler" <[email protected]> Mon, 23 Apr 2007 10:52:26 +0200 CEST
| Newsgroups | gmane.os.openbeos.kernel.devel |
|---|---|
| Message-ID | <8197658083-BeMail@zon> |
"Axel Dörfler" <[email protected]> wrote: > 3) a hard part of the slab allocator is the backend, as it has to > work > directly on the VM, and yet, it shouldn't collect too many areas Oh, I left out a few things here: you'll have to solve many circular dependencies (especially during bootstrapping code); ie. creating an area needs memory for some structures, too, and you'll also need memory for the slab structures as well. If you want to tackle this, have a look at the FreeBSD implementation (sys/vm/uma_core.c) - I think they solved those issues in a nice way. Bye, Axel. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/