🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #1039

Re: Consequential RCU Performance

#1039
From: Chris M. Thomasson
Date: Sat, 28 Nov 2026 20:35
32 lines
2350 bytes
On 11/27/2026 8:55 PM, Bonita Montero wrote:
> Am 27.11.2026 um 22:00 schrieb Chris M. Thomasson:
> 
>> On 11/27/2026 10:03 AM, Bonita Montero wrote:
> 
>>> RCU isn't needed. 
> 
>> Sigh.
> You said that you understand my idea.
> Now I'm sure you don't.
> 

I am not sure if you understand your idea and/or RCU... Oh god. You need 
to make a test where there are a lot of reader threads iterating a 
lock-free stack while writers are actively mutating the stack. Your 
readers should never need to use StoreLoad membars or any atomic RMW's, 
etc. Not even LoadStore, well, side note consume got depreciated and 
falls back to a #LoadStore | #LoadLoad iirc.

Also, the stack does not need any ABA version counts simply because ABA 
will never occur. Can your current work do it?

RCU can do it. Can yours?

I have poor mans proxy that works well wrt amortization. Its a poor mans 
RCU.

https://pastebin.com/raw/CYZ78gVj

How would your idea fit in here?

Technical Details
Message-ID: <11efdu7$2ten0$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11eceq2$1rdof$1@dont-email.me> <11ecgl8$1s72j$1@raubtier-asyl.eternal-september.org> <11ecr1d$20dln$1@dont-email.me> <11edms2$294iu$1@raubtier-asyl.eternal-september.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c++
Subject: Re: Consequential RCU Performance
Date: Sat, 28 Nov 2026 12:35:18 -0800
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <11efdu7$2ten0$1@dont-email.me>
References: <11eceq2$1rdof$1@dont-email.me>
 <11ecgl8$1s72j$1@raubtier-asyl.eternal-september.org>
 <11ecr1d$20dln$1@dont-email.me>
 <11edms2$294iu$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 28 Nov 2026 20:35:20 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3062496"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18GM/06g2NH8M8tL2rNUlCVh7quriEQIuk="; posting-host="2631cfc9bd423e6e37c1b359040b83d4"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:VEESeXBx12wYrnopAHTsiIaKtCE= sha256:Yp6Irp1+ezvcuAfZfApf/M2votND3M0YzSsypCQLR/U=
	sha1:j6uaxENDPbyAIhnbgk1mVSYbs14= sha256:JPbtxAHmn/fj35QrXErJj7b5ctK4S4Gr5x+Sq/xR7lQ=
Content-Language: en-US
In-Reply-To: <11edms2$294iu$1@raubtier-asyl.eternal-september.org>