DragonFly kernel List (threaded) for 2008-03
DragonFly BSD
DragonFly kernel List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: migrating proc from zone to objcache


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 31 Mar 2008 21:39:16 +0200

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
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]