struct thread allocation
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Sat May 17 02:23:35 PDT 2008
Nicolas Thery wrote:
Hello,
Instances of struct thread are allocated using a custom object caching
mechanism (per-cpu list of free structures (gd_tdffreeq) backed up by
zone).
Why doing so instead of using the objcache or kmalloc? Was the lwkt
s/system implemented before objcache?
yes, it predates the objcache.
cheers
simon
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low â¬â¬â¬ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
More information about the Kernel
mailing list