Deutsch   English   Français   Italiano  
<vbqjvk$376he$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.arch
Subject: Re: arm ldxr/stxr vs cas
Date: Tue, 10 Sep 2024 16:16:04 -0700
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vbqjvk$376he$1@dont-email.me>
References: <vb4sit$2u7e2$1@dont-email.me>
 <07d60bd0a63b903820013ae60792fb7a@www.novabbs.org>
 <vbc4u3$aj5s$1@dont-email.me>
 <898cf44224e9790b74a0269eddff095a@www.novabbs.org>
 <vbd4k1$fpn6$1@dont-email.me> <vbd91c$g5j0$1@dont-email.me>
 <vbm790$2atfb$2@dont-email.me> <vbn0o6$2ed30$1@dont-email.me>
 <vbno6u$2hvrc$2@dont-email.me> <vbplo5$30k42$1@dont-email.me>
 <vbq45r$33j93$4@dont-email.me> <vbqe14$35sqv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 11 Sep 2024 01:16:04 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="233a7ecb793af72ad112e5f4147874d3";
	logging-data="3381806"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+NWwbAVC9hE6UYpHIkCDmpZP8Dnis3Sjg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:JJ1ilcKlCx7ANXwHMBjs+6Jlquc=
Content-Language: en-US
In-Reply-To: <vbqe14$35sqv$1@dont-email.me>
Bytes: 2287

On 9/10/2024 2:34 PM, jseigh wrote:
> On 9/10/24 14:46, Chris M. Thomasson wrote:
>> On 9/10/2024 7:40 AM, jseigh wrote:
>>>
>>>
>>> One of the things I have in my implementation is that an enqueue
>>> operation can detect if wrap occurred if it got a interrupted by
>>> a time slice end and log how far behind it got.  I'm seeing about
>>> 200,000 enqueue operations in those cases.  That would have been
>>> a huge performance hit if my queue wasn't lock-free.
>>
>> Is your queue similar to the M&S Queue?
>>
>> https://people.csail.mit.edu/xchen/parallel-computing/queue.pdf
>>
> 
> Yes.

Ahhh... I read that a long time ago and for some reason I cannot 
remember right now if it still had any issues with memory management. 
Page 270 line D12? I just can't remember.

I am pretty sure that the Microsoft SList uses SEH to deal with it in 
the lock-free lifo.