commit | 99312ae06ad1265dbaa5bc9df63b3bc65bef61c4 | [log] [tgz] |
---|---|---|
author | Uladzislau Rezki (Sony) <urezki@gmail.com> | Wed Dec 09 21:27:32 2020 +0100 |
committer | Paul E. McKenney <paulmck@kernel.org> | Wed Dec 09 17:42:57 2020 -0800 |
tree | 7a4bf3781425c233d2ba82f6a141965d0ab97b0d | |
parent | e1f125865f54cc454e677da04680ee97c51019c3 [diff] |
rcu-tasks: Add RCU-tasks self tests This commit adds self tests for early-boot use of RCU-tasks grace periods. It tests all three variants (Rude, Tasks, and Tasks Trace) and covers both synchronous (e.g., synchronize_rcu_tasks()) and asynchronous (e.g., call_rcu_tasks()) grace-period APIs. Self-tests are run only in kernels built with CONFIG_PROVE_RCU=y. Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>