-
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
Tag Archives: rcu
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
Stupid RCU Tricks: Making Race Conditions More Probable
Given that it is much more comfortable chasing down race conditions reported by rcutorture than those reported from the field, it would be good to make race conditions more probable during rcutorture runs than in production. A number of tricks … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: Making Race Conditions More Probable
Stupid RCU Tricks: Which tests do I run???
The rcutorture test suite has quite a few options, including locktorture, rcuscale, refscale, and scftorture in addition to rcutorture itself. These tests can be run with the assistance of either KASAN or KCSAN. Given that RCU contains kernel modules, there … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: Which tests do I run???
Stupid RCU Tricks: A tour through rcutorture
Although Linux-kernel RCU gets most of the attention, without rcutorture, RCU would not be what it is today. To see this, note that the old saying “If it ain’t tested, it don’t work!” is if anything more valid today than … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: A tour through rcutorture
Stupid RCU Tricks: The design of rcutorture
This installment of the rcutorture series takes a high-level look at its design. At the highest level, rcutorture is a stress test with a few unit-test components thrown in for good measure. It also includes scripts to handle both single-system … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: The design of rcutorture
Stupid RCU Tricks: rcutorture fails to find an RCU bug
I recently took a close look at rcutorture‘s console output and noticed the following string: rtbf: 0 rtb: 0. The good news is that there were no rcutorture priority-boosting failures (rtbf: 0). The bad news is that this was only because there was no … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: rcutorture fails to find an RCU bug
Stupid RCU Tricks: So rcutorture is Still Not Aggressive Enough For You?
An earlier post discussed ways of making rcutorture more aggressive, but even with these techniques, rcutorture‘s level of aggression is limited by build time on the one hand and the confines of a single system on the other. This post … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: So rcutorture is Still Not Aggressive Enough For You?
Stupid RCU Tricks: Torturing RCU Fundamentally, Parts IV and V
Continuing further into the Linux-kernel Documentation/RCU/Design/Requirements/Requirements.rst file uncovers RCU’s final two fundamental guarantees: The common-case RCU primitives are unconditional, and RCU users can perform a guaranteed read-to-write upgrade. The first guarantee is trivially verified by inspection of the RCU … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: Torturing RCU Fundamentally, Parts IV and V
Stupid RCU Tricks: Torturing RCU Fundamentally, Part III
Even more reading of the Linux-kernel Documentation/RCU/Design/Requirements/Requirements.rst file encounters RCU’s memory-barrier guarantees. These guarantees are a bit ornate, but roughly speaking guarantee that RCU read-side critical sections lapping over one end of a given grace period are fully ordered with … Continue reading
Posted in Uncategorized
Tagged rcu, rcutorture, scalability, stupid rcu tricks
Comments Off on Stupid RCU Tricks: Torturing RCU Fundamentally, Part III
You must be logged in to post a comment.