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

struct thread allocation


From: "Nicolas Thery" <nthery@xxxxxxxxx>
Date: Sat, 17 May 2008 09:01:02 +0200

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?

Cheers,
Nicolas



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