Stupid RCU Tricks: Detecting Pointer Leaks

Explicitly scoped synchronization mechanisms, including locking, are susceptible to leaks, that is, use of protected values past the end ...

paulmck

@paulmckrcu
Azul has the C4 GC which (I think) uses virtual memory mapping to implement the GC read barrier.

#RCU doesn't do compacting reclamation so memory fragmentation would kill you. But if you had a data structure what didn't do that, like a Michael-Scott #lockfree queue, you could use mmap memory protection to trap any stale references, trap the segfault to restart a restartable RCU locked region.

@sakarepmu @davidculley The core maintainer of the #rcu subsystem is also a Facebook employee ๐Ÿ˜† Paul knows what he is doing.

I really never got into Alan Wake/AN/II, but I loved Quantum Break and Control, especially how the three series hint at each other in the #RCU.

Eager for Control Resonance.

Watched the trailer again with headphones and the audio is another sensory layer of weirdness.

โœจ ๐—ฃ๐—ผ๐—บ๐—ฝ๐—ฒ๐—ถ ๐—ฒ ๐—”๐—น๐—จ๐—น๐—ฎ ๐—ถ๐—ป๐˜€๐—ถ๐—ฒ๐—บ๐—ฒ ๐—ฝ๐—ฒ๐—ฟ ๐—นโ€™๐—ฎ๐—ฟ๐—ฐ๐—ต๐—ฒ๐—ผ๐—น๐—ผ๐—ด๐—ถ๐—ฎ ๐—ฑ๐—ฒ๐—น ๐—ณ๐˜‚๐˜๐˜‚๐—ฟ๐—ผ

๐ŸŒ Una partnership internazionale tra Arabia Saudita e Italia inaugura un nuovo modello di ricerca, tutela e fruizione dei siti archeologici, combinando competenze, tecnologie e strategie di valorizzazione

#Pompei #AlUla #Archeologia #UNESCO #CulturalHeritage #RCU #PAP #Storia #TurismoCulturale #SaudiArabia #Italia

โžก๏ธ I dettagli su Storie & Archeostorie: https://wp.me/p7tSpZ-bdt

https://storiearcheostorie.com/2025/11/24/pompei-alula-collaborazione-archeologia-turismo/

What on Earth Does Pointer Provenance Have to do With RCU?

TL;DR: Unless you are doing very strange things with RCU, not much!!! So why has the guy most responsible for Linux-kernel spent so much...

paulmck
What on Earth Does Pointer Provenance Have to do With RCU?

TL;DR: Unless you are doing very strange things with RCU, not much!!! So why has the guy most responsible for Linux-kernel spent so much...

paulmck
Linux 6.16 Will Now Conveniently Report Hard/Soft Lockups & RCU Stall Counts

A very convenient addition to Linux 6.16 for system administrators is reporting to user-space via sysfs counters for the number of hard and soft lock-ups as well as RCU stalls.

Linux 6.16 Will Now Conveniently Report Hard/Soft Lockups & RCU Stall Counts

A very convenient addition to Linux 6.16 for system administrators is reporting to user-space via sysfs counters for the number of hard and soft lock-ups as well as RCU stalls.

/* Don't even think about trying any of these in real life!!! The names includes "busted", and they really means it! The only purpose of these functions is to provide a buggy RCU implementation to make sure that rcutorture correctly emits buggy-RCU error messages. */

https://elixir.bootlin.com/linux/v6.14.6/source/kernel/rcu/rcutorture.c#L621-L627

#linux #kernel #rcu

Making sure you're not a bot!