]> www.infradead.org Git - users/jedix/linux-maple.git/commit
uek-rpm: config-debug: Turn off torture testing by default
authorKnut Omang <knut.omang@oracle.com>
Fri, 23 Mar 2018 14:49:26 +0000 (15:49 +0100)
committerBrian Maly <brian.maly@oracle.com>
Tue, 21 Aug 2018 18:15:16 +0000 (14:15 -0400)
commit133e51d2b12c1b619f56f54a76698dfcf23ed1a5
tree73401a19d2738639a59612ae5f29d10d16cd686f
parent2e2f1866e555d022b13d25fe0832700333ae1e40
uek-rpm: config-debug: Turn off torture testing by default

The OL7 debug kernels are configured with multiple torture tests
built into the kernel, and consequently are all of them
trying to run by default during boot. This is a waste
of time and kWs.

This can be observed by the following
messages in the system log during boot:

 kernel: spin_lock-torture:--- Start of test [debug]: nwriters_stress=4 nreaders_stress=0 stat_interval=60 verbose=1 shuffle_interval=3 stutter=5 shutdown_secs=0
 kernel: spin_lock-torture: Creating torture_shuffle task
 kernel: spin_lock-torture: Creating torture_stutter task
 kernel: spin_lock-torture: torture_shuffle task started
 kernel: spin_lock-torture: Creating lock_torture_writer task
 kernel: spin_lock-torture: torture_stutter task started
 kernel: spin_lock-torture: Creating lock_torture_writer task
 kernel: spin_lock-torture: lock_torture_writer task started
 kernel: spin_lock-torture: Creating lock_torture_writer task
 kernel: spin_lock-torture: lock_torture_writer task started
 kernel: spin_lock-torture: Creating lock_torture_writer task
 kernel: spin_lock-torture: lock_torture_writer task started
 kernel: spin_lock-torture: Creating lock_torture_stats task
 kernel: spin_lock-torture: lock_torture_writer task started
 kernel: spin_lock-torture: lock_torture_stats task started
 kernel: torture_init_begin: Refusing rcu init: spin_lock running.
 kernel: torture_init_begin: One torture test at a time!

Better to compile these as modules to make them readily
available for testing if need be, than to run them all
at boot which does not seem to make sense at all judging
from the above log.

Orabug: 28261886

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Acked-by: Victor Erminpour <victor.erminpour@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
uek-rpm/ol7/config-x86_64-debug