From: Ingo Molnar <mingo@elte.hu>
To: Pavel Machek <pavel@ucw.cz>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>,
linux-kernel@vger.kernel.org, akpm@osdl.org, dipankar@in.ibm.com,
vatsa@in.ibm.com, rusty@au1.ibm.com, manfred@colorfullife.com
Subject: Re: [PATCH] RCU torture testing
Date: Mon, 3 Oct 2005 08:30:38 +0200 [thread overview]
Message-ID: <20051003063038.GB23241@elte.hu> (raw)
In-Reply-To: <20051002210549.GA8503@elf.ucw.cz>
* Pavel Machek <pavel@ucw.cz> wrote:
> > The attached patch adds CONFIG_RCU_TORTURE_TEST, which enables a /proc-based
> > intense torture test of the RCU infrastructure. This is needed due to the
> > continued changes to RCU infrastructure to accommodate dynamic ticks, CPU
> > hotplug, and so on. Most of the code is in a separate file that is compiled
> > only if the CONFIG variable is set. Documentation on how to run the test
> > and interpret the output is also included.
> >
> > This code has been tested on i386 and ppc64, and an earlier version of the
> > code has seen extensive testing on a number of architectures as part of the
> > PREEMPT_RT patchset.
> >
> > Signed-off-by: <paulmck@us.ibm.com>
>
> Can you just run the tests from time to time inside IBM?
actually, i think RCU_TORTURE_TEST is a prime example of why this should
be in the main kernel. The torture-test found RCU bugs that never popped
up during normal use, and RCU bugs are hillariously hard to debug.
Having that code outside of the main kernel will most certainly result
in a degradation of the test - while it's role for the development of
new architectures (and changes to the rcu code) is very important. I
agree it should move to debugfs, and maybe in the future we'll need some
better framework for a 'in-kernel integrated testsuite'. I think we
should encourage such testsuites. I was thinking about writing something
similar for spinlocks and rwlocks and semaphores. (we occasionally break
them and they are hard to debug too)
Ingo
next prev parent reply other threads:[~2005-10-03 6:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-01 18:20 Paul E. McKenney
2005-10-02 0:11 ` Greg KH
2005-10-03 14:28 ` Paul E. McKenney
2005-10-03 14:48 ` Greg KH
2005-10-02 21:05 ` Pavel Machek
2005-10-03 6:30 ` Ingo Molnar [this message]
2005-10-03 14:30 ` Paul E. McKenney
2005-10-03 14:36 ` Arjan van de Ven
2005-10-03 15:26 ` Paul E. McKenney
2005-10-03 15:31 ` Arjan van de Ven
2005-10-03 15:49 ` Paul E. McKenney
2005-10-22 23:09 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051003063038.GB23241@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@osdl.org \
--cc=dipankar@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=paulmck@us.ibm.com \
--cc=pavel@ucw.cz \
--cc=rusty@au1.ibm.com \
--cc=vatsa@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®