2021-05-27 00:09:36 +05:00
|
|
|
#!/bin/bash
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
# Torture-suite-dependent shell functions for the rest of the scripts.
|
|
|
|
#
|
|
|
|
# Copyright (C) IBM Corporation, 2015
|
|
|
|
#
|
|
|
|
# Authors: Paul E. McKenney <paulmck@linux.ibm.com>
|
|
|
|
|
|
|
|
# per_version_boot_params bootparam-string config-file seconds
|
|
|
|
#
|
|
|
|
# Adds per-version torture-module parameters to kernels supporting them.
|
|
|
|
per_version_boot_params () {
|
|
|
|
echo $1 rcuscale.shutdown=1 \
|
2021-09-18 19:38:41 +05:00
|
|
|
rcuscale.verbose=0
|
2021-05-27 00:09:36 +05:00
|
|
|
}
|