#RCU
Faster RCU and Lockless Memory Allocation in Linux
8/10lwn.net · ⭐️ 8/10 · 2026-07-07
Puranjay Mohan presented work on improving RCU performance by allowing normal RCU callbacks to be executed after expedited grace periods, and a new kmallocnolock() function for lockless memory allocation from any kernel context was discussed at LSFMM+BPF 2026. These developments significantly enhance kernel scalability by reducing memory allocation latency and speeding up RCU grace period completion, benefiting high-performance workloads under memory pressure. The RCU improvement involves tracking both non-expedited and expedited grace-period numbers to allow callbacks to run when either completes, while kmallocnolock() enables lockless allocation without needing to hold locks.