Why doesn't Linux have a NORCU RCU option that just implements the RCU API as plain rwlocks?
Mobile and embedded. But even for reasonable desktop and server use locks are better.
-
-
But I don't think this is solvable in Linux. The code using the RCU api actually does the alloc/free operations...
-
...so there's no way a "NORCU" (as plain rwlock) could give you update-in-place without unwanted invasive changes.
-
That is correct. A NORCU has the same problem in user mode in the presence of signal handlers.
-
That's trivial to solve in kernel because disabling irqs takes at most a couple cycles. OTOH sigprocmask is syscall.
-
BTW any tips on debugging RCU stalls (not perm, just long, >20s) in idle task with dyntick? :-)
-
(1) https://www.kernel.org/doc/Documentation/RCU/stallwarn.txt … (2) but please email me dmesg + .config + version
-
New SoC support going upstream, stalls introduced by Linus's in-progress-merge-window pulls. Want to find/report/fix.
-
I've read that doc but it's not helping me figure out why the stall is happening. Guess is bad timing of infreq wakes
- 3 more replies
New conversation -
-
-
Hmmm... RCU has nice deadlock-avoidance properties even on small systems. But you might like hazard pointers.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.