Article View: comp.lang.c++
Article #170Re: Consequential RCU
From: Joseph Seigh
Date: Sun, 11 Oct 2026 15:11
Date: Sun, 11 Oct 2026 15:11
25 lines
2521 bytes
2521 bytes
On 9/16/26 6:25 PM, Joseph Seigh wrote: > https://jseigh.wordpress.com/2026/09/07/consequential-concurrent- > sequential-rcu/ > > The name doesn't really mean anything. I was just generalizing something > that's been around forever.* It's simple enough that it must be in use > somewhere. I just haven't noticed it. I looked up the linux kernal > seqlock documentation and it specifically says not to use pointers in > seqlock protected data and no idea why that is unless the linux kernel > is doing something weird with memory mapping. > > Like seqlock, it is obstruction-free. If you have qsbr (RCU) or ebr, > that would be a better choice. It might be good for libraries where > the memory reclamation is hidden from the application. > > * tangentially related to something that I was working on which if far > more perverse but mostly in a solution that is looking for a problem > phase so it probably won't go anywhere. I threw together a really quick and dirty test to see how much overhead all those extra loads would cause. Doesn't appear to add any. I will have to add it to the proxies project testcase for more extensive testing but it will take a bit of work since all the other proxies implement BasicLock and consequential RCU readers do not.
Technical Details
Message-ID:
<11ag8ue$2nvjl$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<118f4vv$3plsv$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Joseph Seigh <jseigh_es00@xemaps.com> Newsgroups: comp.lang.c++ Subject: Re: Consequential RCU Date: Sun, 11 Oct 2026 11:11:10 -0400 Organization: A noiseless patient Spider Lines: 25 Message-ID: <11ag8ue$2nvjl$1@dont-email.me> References: <118f4vv$3plsv$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 11 Oct 2026 15:11:12 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2883189"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+14RB4XVRz6WxJooK5xYb0"; posting-host="a3ffc2b68b78e3dea360ef59eb9dc68e" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:C2Ggpkfe/gHxWU1OwZki/Fb8AHk= sha256:Zcx1BLctwYFCffvsc+eVWJeiF7nCy9fjn+xCO1cfwe4= sha1:wSKO4JY0nBHNmntERoaM7mAANC4= sha256:DNkNG7ZdOLYBLThhQ3Q/MNKf+nalqf/E1gvuS9swwTA= Content-Language: en-US In-Reply-To: <118f4vv$3plsv$1@dont-email.me>