migrating proc from zone to objcache

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Mar 31 12:41:30 PDT 2008


Matthew Dillon wrote:
>     What I suggest is that you convert struct proc from zone to kmalloc
>     first, and then look into a possible objcache adaptation.  kmalloc
>     is not slow.. it's a very fast allocator.  Objcache is probably a tad
>     faster but not by much.  Where objcache really wins is in not having
>     to completey reinitialize the allocated structures.

Could we please not move to kmalloc, but instead try to move all fast
path allocations to objcache?  I don't like the idea of allocating
everything with kmalloc.  Caching struct procs is not a bad thing itself.

cheers
  simon


Attachment:
signature.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00008.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20080331/ac328c08/attachment-0016.obj>


More information about the Kernel mailing list