mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Oeser <ioe-lkml@rameria.de>
To: linux-kernel@vger.kernel.org, paulmck@us.ibm.com
Cc: arjan@infradead.org, pavel@ucw.cz, akpm@osdl.org,
	dipankar@in.ibm.com, vatsa@in.ibm.com, rusty@au1.ib.com,
	mingo@elte.hu, manfred@colorfullife.com, gregkh@kroah.com
Subject: Re: [PATCH] RCU torture-testing kernel module
Date: Sun, 23 Oct 2005 20:55:03 +0200	[thread overview]
Message-ID: <200510232055.17782.ioe-lkml@rameria.de> (raw)
In-Reply-To: <20051023143617.GA7961@us.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]

Hi Paul,

On Sunday 23 October 2005 16:36, Paul E. McKenney wrote:
> On Sun, Oct 23, 2005 at 09:22:18AM +0200, Ingo Oeser wrote:
> > On Sunday 23 October 2005 01:12, Paul E. McKenney wrote:
> > > +config RCU_TORTURE_TEST
> > > +	tristate "torture tests for RCU"
> > > +	default n
> > 
> > Please put this into lib/Kconfig.debug and make it dependent on
> > DEBUG_KERNEL there, which illustrates its actual purpose much better.
> 
> If I make it depend on DEBUG_KERNEL, I get other extraneous debug code
> as well, for example, in verify_mm_writelocked(). 

Oh, this seems to be either not intended or misguided.

DEBUG_KERNEL should do nothing more than showing the debugging
options. 

E.g. I don't expect to enable any additional code in an 
unrelated file, if I enable Magic-SysRQ on an embedded, unattended device
to be able to analyze potential problems via serial console.

@Andrew: Would you accept a patch to fix that?

My idea to put the option into lib/Kconfig.debug was just to ease 
maintainence, once it is dependend on DEBUG_KERNEL.

On the other hand it makes sense to add another option TEST_KERNEL
and put some existing kernel internal test suites under that.

@Andrew: Would you accept a patch for this?


Regards

Ingo Oeser


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-10-23 18:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-22 23:12 Paul E. McKenney
2005-10-23  7:22 ` Ingo Oeser
2005-10-23 14:36   ` Paul E. McKenney
2005-10-23 18:55     ` Ingo Oeser [this message]
2005-10-23 19:05       ` Andrew Morton
2005-10-24  0:47         ` Paul E. McKenney
2005-10-24 14:59           ` Ingo Oeser
2005-10-24 16:24           ` Badari Pulavarty
2005-10-24 17:59             ` Kyle Moffett
2005-10-24 18:10               ` Badari Pulavarty
2005-10-24 22:29                 ` Kyle Moffett
2005-10-24 23:03                 ` Paul E. McKenney
2005-10-24 22:54             ` Paul E. McKenney
2005-10-24 23:09               ` Badari Pulavarty
2005-10-23 19:47     ` Greg KH

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=200510232055.17782.ioe-lkml@rameria.de \
    --to=ioe-lkml@rameria.de \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=dipankar@in.ibm.com \
    --cc=gregkh@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    --cc=mingo@elte.hu \
    --cc=paulmck@us.ibm.com \
    --cc=pavel@ucw.cz \
    --cc=rusty@au1.ib.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®