Rcu Mutation

Correct discipline for mutating an RCU / lock-free pointer-based data structure (trie, tree, list, graph) that has concurrent readers — build a new node cluster invisibly, publish it, then reclaim the old nodes after a grace period. Use when writing or reviewing any mutator on a structure read concurrently under RCU (or any publish/consume scheme), especially one with allocation-failure paths.

isc-projects d8d45cc 15.1 KB Updated

File contents

isc-projects/bind9/tree/main/.agents/skills/rcu-mutation commit d8d45cca0a

Frequently asked questions

npx skillmds@latest add isc-projects/rcu-mutation