-
Archives
- May 2022
- December 2021
- November 2021
- October 2021
- September 2021
- July 2021
- May 2021
- April 2021
- March 2021
- December 2020
- October 2020
- September 2020
- July 2020
- June 2020
- March 2020
- January 2020
- December 2019
- October 2019
- April 2019
- March 2019
- January 2019
- December 2018
- November 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- February 2018
- December 2017
- November 2017
- October 2017
- August 2017
- July 2017
- June 2017
- April 2017
- February 2017
- January 2017
- November 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- October 2015
- September 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- November 2014
- October 2014
- August 2014
- June 2014
- March 2014
- January 2014
- October 2013
- August 2013
- July 2013
- June 2013
- April 2013
- February 2013
- January 2013
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
-
Meta
Author Archives: paulmckrcu
Stupid RCU Tricks: How Read-Intensive is The Kernel’s Use of RCU?
RCU is a specialized synchronization mechanism, and is typically used where there are far more readers (rcu_read_lock(), rcu_read_unlock(), rcu_dereference(), and so on) than there are updaters (synchronize_rcu(), call_rcu(), rcu_assign_pointer(), and so on). But does the Linux kernel really make heavier … Continue reading
Posted in Uncategorized
Tagged linux, performance, stupid rcu tricks
Comments Off on Stupid RCU Tricks: How Read-Intensive is The Kernel’s Use of RCU?
Stupid RCU Tricks: Is RCU Watching?
It is just as easy to ask why wouldn’t RCU be watching all the time. After all, you never know when you might need to synchronize! Unfortunately, the concept of an eternally watchful RCU is problematic in the context of … Continue reading
Posted in Uncategorized
Comments Off on Stupid RCU Tricks: Is RCU Watching?
Parallel Programming: December 2021 Update
It is past time for another release of Is Parallel Programming Hard, And, If So, What Can You Do About It?. But first, what is the difference between an edition and a release? The main difference is the level of … Continue reading
Posted in Uncategorized
Tagged is parallel programming hard, perfbook
Comments Off on Parallel Programming: December 2021 Update
Stupid RCU Tricks: Creating Branches For the -rcu Tree
Several people have expressed interest in how I go about creating the topic branches in the -rcu tree. So when I created branches earlier this week, I actually kept track. But why bother with topic branches? In my case, reason … Continue reading
Posted in Uncategorized
Tagged stupid rcu tricks
Comments Off on Stupid RCU Tricks: Creating Branches For the -rcu Tree
What Memory Model Should the Rust Language Use?
UNDER CONSTRUCTION This blog post discusses a few alternative Rust-language memory models. I hope that this discussion is of value to the Rust community, but in the end, it is their language, so it is also their choice of memory … Continue reading
Posted in Uncategorized
Tagged linux, lkmm, rust
Comments Off on What Memory Model Should the Rust Language Use?
Stupid RCU Tricks: Waiting for Grace Periods From NMI Handlers
Suppose that you had a state machine implemented by NMI handlers, and that some of the transitions in this state machine need to wait for an RCU grace period to elapse. How could these state transitions be implemented? Before we … Continue reading
Posted in Uncategorized
Tagged linux, rcu, stupid rcu tricks
Comments Off on Stupid RCU Tricks: Waiting for Grace Periods From NMI Handlers
Verification Challenges
You would like to do some formal verification of C code? Or you would like a challenge for your formal-verification tool? Either way, here you go! Stupid RCU Tricks: rcutorture Catches an RCU Bug, also known as … Continue reading
Posted in Uncategorized
Tagged parallel, validation, verification
Comments Off on Verification Challenges
TL;DR: Memory-Model Recommendations for Rusting the Linux Kernel
These recommendations assume that the initial Linux-kernel targets for Rust developers are device drivers that do not have unusual performance and scalability requirements, meaning that wrappering of small C-language functions is tolerable. (Please note that most device drivers fit into … Continue reading
Posted in Uncategorized
Tagged linux, lkmm, rust
Comments Off on TL;DR: Memory-Model Recommendations for Rusting the Linux Kernel
Rusting the Linux Kernel: Summary and Conclusions
We have taken a quick trip through history, through a number of the differences between the Linux kernel and the C/C++ memory models, sequence locks, RCU, ownership, zombie pointers, and KCSAN. I give a big “thank you” to everyone who … Continue reading
Posted in Uncategorized
Tagged linux, lkmm, rust
Comments Off on Rusting the Linux Kernel: Summary and Conclusions
You must be logged in to post a comment.