haiku/headers
Ingo Weinhold 86c794e5c1 slab allocator:
* Implemented a more elaborated raw memory allocation backend (MemoryManager).
  We allocate 8 MB areas whose pages we allocate and map when needed. An area is
  divided into equally-sized chunks which form the basic units of allocation. We
  have areas with three possible chunk sizes (small, medium, large), which is
  basically what the ObjectCache implementations were using anyway.
* Added "uint32 flags" parameter to several of the slab allocator's object
  cache and object depot functions. E.g. object_depot_store() potentially wants
  to allocate memory for a magazine. But also in pure freeing functions it
  might eventually become useful to have those flags, since they could end up
  deleting an area, which might not be allowable in all situations. We should
  introduce specific flags to indicate that.
* Reworked the block allocator. Since the MemoryManager allocates block-aligned
  areas, maintains a hash table for lookup, and maps chunks to object caches,
  we can quickly find out which object cache a to be freed allocation belongs
  to and thus don't need the boundary tags anymore.
* Reworked the slab boot strap process. We allocate from the initial area only
  when really necessary, i.e. when the object cache for the respective
  allocation size has not been created yet. A single page is thus sufficient.

other:
* vm_allocate_early(): Added boolean "blockAlign" parameter. If true, the
  semantics is the same as for B_ANY_KERNEL_BLOCK_ADDRESS.
* Use an object cache for page mappings. This significantly reduces the
  contention on the heap bin locks.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-21 23:10:52 +00:00
..
build Patch by Andreas Faerber: 2010-01-02 09:24:57 +00:00
compatibility
config Fixed __HAIKU_PRI_PREFIX_ADDR definition. 2009-12-06 15:46:03 +00:00
cpp
glibc
libs * Simplified and optimized a lot the "ToString()" debugging facilities. 2009-12-06 13:14:45 +00:00
os - Locale kit : made the language class live. It now uses ICU as a backend as expected 2010-01-20 22:44:34 +00:00
posix forgot to add prototypes for pthread_getschedparam and pthread_setschedparam(), sorry. 2010-01-16 19:33:34 +00:00
private slab allocator: 2010-01-21 23:10:52 +00:00
tools