Re: [PATCH] RCU torture-testing kernel module

From: Kyle Moffett
Date: Mon Oct 24 2005 - 17:29:28 EST


On Oct 24, 2005, at 14:10:58, Badari Pulavarty wrote:
On Mon, 2005-10-24 at 13:59 -0400, Kyle Moffett wrote:
Uhh... It's a torture test. What exactly do _you_ expect it will do? I think the idea is to enable it as a module and load it when you want to start torture testing, and unload it when done. "TORTURE_TEST"s are not for production systems :-D.

I was expecting that - even if its compiled in, there would be a way to turn on/off the tests from /proc or something :)

From the docs:
The test is started when the module is loaded, and stops when the module is unloaded.

However, actually setting this config option to "y" results in the system running the test immediately upon boot, and ending only when the system is taken down.

MODULE PARAMETERS

[snip description of parameters]

You turn the test on and off by inserting and removing the module, as I found in about 30 seconds by reading the top of the patch.

Cheers,
Kyle Moffett

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/E/U d- s++: a18 C++++>$ ULBX*++++(+++)>$ P++++(+++)>$ L++++ (+++)>$ !E- W+++(++) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP + t+(+++) 5 X R? !tv-(--) b++++(++) DI+(++) D+++ G e>++++$ h*(+)>++$ r %(--) !y?-(--)
------END GEEK CODE BLOCK------



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/