lkml.org 
[lkml]   [2014]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/3] Early boot self tests for RCU
Date
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

--
2.1.0



\
 
 \ /
  Last update: 2014-09-18 06:01    [W:0.109 / U:0.784 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site