[Openais] [PATCH 0/2] netmalloc work in progress

Russell Bryant russell at russellbryant.net
Fri Mar 25 06:14:07 PDT 2011


On Fri, Mar 25, 2011 at 12:10 AM, Steven Dake <sdake at redhat.com> wrote:
> On 03/24/2011 06:56 PM, Zane Bitter wrote:
>>
>> Did we reach a consensus on whether locking is required on the free list or
>> if TLS is sufficient?
>>
>
> Locking is required - allocation can happen in totemsrp_mcast in thread
> A while free can occur in message_handler_orf_token (via messages_free)
> in thread B.

So, TLS should be used then?  Wouldn't locking on a free list be worse
than no free list at all?

--
Russell Bryant


More information about the Openais mailing list