Skip to content

RFC Early boot self tests for RCU

Pranith Kumar lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rcu: Add early boot self testskernel/rcu/rcu.h kernel/rcu/tiny.c kernel/rcu/tree.c +1 more+98 -13 replies
2/3doc: Document RCU self test boot paramsDocumentation/kernel-parameters.txt+12 -00 replies
3/3rcutorture: Enable RCU self test in configstools/testing/selftests/rcutorture/configs/rcu/TINY02 tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot tools/testing/selftests/rcutorture/configs/rcu/TREE05.boot +3 more+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Early boot self tests for RCU

Hi Paul,

Please find the following patches which enable RCU early boot tests. For now all we do in these tests are enqueue test callbacks and check if they are being invoked or not.

I was able to reproduce the hang which Amit reported after reverting the fix. So this should catch such errors if they occur in the future.

I enabled the selftests in a few rcutorture configurations.

Thanks!
--
Pranith

Pranith Kumar (3):
rcu: Add early boot self tests
doc: Document RCU self test boot params
rcutorture: Enable RCU self test in configs

 Documentation/kernel-parameters.txt                | 12 +++
 kernel/rcu/rcu.h                                   |  2 +
 kernel/rcu/tiny.c                                  |  4 +-
 kernel/rcu/tree.c                                  |  2 +
 kernel/rcu/update.c                                | 91 ++++++++++++++++++++++
 .../selftests/rcutorture/configs/rcu/TINY02        |  2 +
 .../selftests/rcutorture/configs/rcu/TINY02.boot   |  2 +
 .../selftests/rcutorture/configs/rcu/TREE05.boot   |  1 +
 .../selftests/rcutorture/configs/rcu/TREE06.boot   |  4 +
 .../selftests/rcutorture/configs/rcu/TREE08        |  2 +
 .../selftests/rcutorture/configs/rcu/TREE08.boot   |  2 +
 11 files changed, 123 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot
 create mode 100644 tools/testing/selftests/rcutorture/configs/rcu/TREE06.boot
Signature · 1 line
2.1.0