tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kernel memory allocators
On Fri Jan 21 2011 at 11:51:08 +0100, Lars Heidieker wrote:
> > Do you have your changes available for review?
>
> The kmem patch it includes:
>
> - enhanced vmk caching in the uvm_km module not only for page sized
> allocation but low integer multiplies.
> (changed for rump as well)
> - a changed kmem(9) implementation (using these new caches) (it's not
> using vmem see note below)
> - removed the malloc(9) bucket system and made malloc(9) a thin
> wrapper around kmem, just like in the yamt-kmem branch.
> (changed vmstat to deal with non more existing symbol for the malloc
> buckets)
With your changes you can probably also include kern_malloc.c in librump
instead of the host-relegated allocator in memalloc.c. There were two
reasons why it wasn't done before:
1) i didn't want to guess an arbitrary size for kmem_map
2) too many subsystems relied on link sets for malloc types and i
didn't want to add special handling for that
At least per cursory examination your patch seems to take care of
both issues.
--
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa
Home |
Main Index |
Thread Index |
Old Index