Mentorship Session: Unraveling RCU-Usage Mysteries (Fundamentals)

  Переглядів 4,782

The Linux Foundation

The Linux Foundation

День тому

RCU's little secret is that it is conceptually dead simple.
It has two core conceptual components. The first is a mechanism for publishing and subscribing to pointers using rcu_assign_pointer() and rcu_dereference(), respectively. The second is a way to wait for pre-existing readers, where synchronize_rcu() does the waiting and rcu_read_lock() and rcu_read_unlock() mark the beginnings and ends of those readers.
A common reaction to this description of RCU is "But what on earth can anyone possibly do with -that-?" And indeed, the real difficulty with RCU is that using it effectively requires that you think differently about your problem. That is, there is a significant gap between the functionality provided by the core RCU API and recognizable use cases.
This talk discusses these two RCU components and shows how they can be combined with other mechanisms in bridging the gap to something resembling a reader-writer lock. Time permitting, this talk will also cover the use of RCU to implement a phased state change, thus bridging a much smaller gap to a much less common use case.
A later talk (scheduled for February) will bridge the gap between RCU's two core components and a number of additional use cases.

КОМЕНТАРІ
Introduction to Memory Management in Linux
51:19
The Linux Foundation
Переглядів 162 тис.
I Trapped Myself in a Box with Colored Smoke!
00:50
A4
Переглядів 14 млн
NO NO NO YES! (40 MLN SUBSCRIBERS CHALLENGE!) #shorts
00:27
PANDA BOI
Переглядів 69 млн
Kernel Recipes 2019 - Faster IO through io_uring
38:39
Kernel Recipes
Переглядів 17 тис.
Is Tree-based RAG Struggling? Not with Knowledge Graphs!
9:06
Diffbot
Переглядів 12 тис.
What Is an AI Anyway? | Mustafa Suleyman | TED
22:02
TED
Переглядів 352 тис.
Mentorship Session: Linux Kernel Debugging Tricks of the Trade
1:30:41
The Linux Foundation
Переглядів 6 тис.
Redis Crash Course
27:31
Web Dev Simplified
Переглядів 580 тис.
Steven Rostedt - Learning the Linux Kernel with tracing
1:07:24
OpenFest Bulgaria
Переглядів 85 тис.
Introduction to Realtime Linux
53:49
The Linux Foundation
Переглядів 76 тис.
Understanding the Structure of a Linux Kernel Device Driver - Sergio Prado, Toradex
58:30
I had no idea SHEIN sold PC parts…
27:10
Linus Tech Tips
Переглядів 806 тис.
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
Сомнительно... Ну Окэй... Распаковал Nothing Phone (2a)
16:19
РасПаковка ДваПаковка
Переглядів 52 тис.
The Worst Product I've Ever Reviewed... For Now
25:04
Marques Brownlee
Переглядів 7 млн