DragonFly kernel List (threaded) for 2008-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: migrating proc from zone to objcache
>> Well, the zone allocator is MP-safe. It's not hard to lock up the places
>> that manipulate the linked-list of free items. Look for uses of the zlock
>> field.
> Well it is documented as MP-safe but it isn't actually and is deprecated:
> http://leaf.dragonflybsd.org/mailarchive/kernel/2008-01/msg00045.html
I think you misread that post. The zone allocator itself is MP-safe.
(Again, look for the zlock spinlock in the zone allocator code to
see for yourself that it's MP-safe.) The post is refering to the
subsystems that use the zone allocators as being not MP-safe.
Jeffrey
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]