migrating proc from zone to objcache

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

Jeffrey Hsu wrote:
> The object cache is not a general-purpose memory allocator.  It's a cache of
> pre-initialized objects.  Are the significant portions of the proc structure
> that can be restored to initialized state on object puts?  If not, it's best
> to just use a general-purpose memory allocator.

Why?  What's the loss if we use the object cache to allocate struct procs?


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

More information about the Kernel mailing list