* [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10
@ 2016-11-14 17:59 Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 1/2] torture: Remove obsolete files from rcutorture .gitignore Paul E. McKenney
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Paul E. McKenney @ 2016-11-14 17:59 UTC (permalink / raw)
To: linux-kernel
Cc: mingo, jiangshanlai, dipankar, akpm, mathieu.desnoyers, josh,
tglx, peterz, rostedt, dhowells, edumazet, dvhart, fweisbec,
oleg, bobby.prani
Hello!
This series contains a couple of torture-test changes:
1. Remove obsolete files from the rcutorture .gitignore file.
2. Prevent the --jitter flag from delaying --build-only runs.
Thanx, Paul
------------------------------------------------------------------------
.gitignore | 2 --
bin/kvm.sh | 5 +++++
2 files changed, 5 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH tip/core/rcu 1/2] torture: Remove obsolete files from rcutorture .gitignore
2016-11-14 17:59 [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Paul E. McKenney
@ 2016-11-14 17:59 ` Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 2/2] torture: Prevent jitter from delaying build-only runs Paul E. McKenney
2016-11-14 18:14 ` [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Josh Triplett
2 siblings, 0 replies; 4+ messages in thread
From: Paul E. McKenney @ 2016-11-14 17:59 UTC (permalink / raw)
To: linux-kernel
Cc: mingo, jiangshanlai, dipankar, akpm, mathieu.desnoyers, josh,
tglx, peterz, rostedt, dhowells, edumazet, dvhart, fweisbec,
oleg, bobby.prani, Paul E. McKenney
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
tools/testing/selftests/rcutorture/.gitignore | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/testing/selftests/rcutorture/.gitignore b/tools/testing/selftests/rcutorture/.gitignore
index 05838f6f2ebe..ccc240275d1c 100644
--- a/tools/testing/selftests/rcutorture/.gitignore
+++ b/tools/testing/selftests/rcutorture/.gitignore
@@ -1,6 +1,4 @@
initrd
-linux-2.6
b[0-9]*
-rcu-test-image
res
*.swp
--
2.5.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH tip/core/rcu 2/2] torture: Prevent jitter from delaying build-only runs
2016-11-14 17:59 [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 1/2] torture: Remove obsolete files from rcutorture .gitignore Paul E. McKenney
@ 2016-11-14 17:59 ` Paul E. McKenney
2016-11-14 18:14 ` [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Josh Triplett
2 siblings, 0 replies; 4+ messages in thread
From: Paul E. McKenney @ 2016-11-14 17:59 UTC (permalink / raw)
To: linux-kernel
Cc: mingo, jiangshanlai, dipankar, akpm, mathieu.desnoyers, josh,
tglx, peterz, rostedt, dhowells, edumazet, dvhart, fweisbec,
oleg, bobby.prani, Paul E. McKenney
Currently, if the --jitter flag specifies jitter for a --build-only
run, the system will obediently build a kernel, refuse to launch it,
launch the requested number of jitter processes, and wait for the
specified kernel run time, which defaults to 30 minutes. This is
of course quite pointless.
This commit therefore disables jitter on build-only runs.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
tools/testing/selftests/rcutorture/bin/kvm.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh
index 0aed965f0062..3b3c1b693ee1 100755
--- a/tools/testing/selftests/rcutorture/bin/kvm.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm.sh
@@ -303,6 +303,7 @@ then
fi
___EOF___
awk < $T/cfgcpu.pack \
+ -v TORTURE_BUILDONLY="$TORTURE_BUILDONLY" \
-v CONFIGDIR="$CONFIGFRAG/" \
-v KVM="$KVM" \
-v ncpus=$cpus \
@@ -375,6 +376,10 @@ function dump(first, pastlast, batchnum)
njitter = ncpus;
else
njitter = ja[1];
+ if (TORTURE_BUILDONLY && njitter != 0) {
+ njitter = 0;
+ print "echo Build-only run, so suppressing jitter >> " rd "/log"
+ }
for (j = 0; j < njitter; j++)
print "jitter.sh " j " " dur " " ja[2] " " ja[3] "&"
print "wait"
--
2.5.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10
2016-11-14 17:59 [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 1/2] torture: Remove obsolete files from rcutorture .gitignore Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 2/2] torture: Prevent jitter from delaying build-only runs Paul E. McKenney
@ 2016-11-14 18:14 ` Josh Triplett
2 siblings, 0 replies; 4+ messages in thread
From: Josh Triplett @ 2016-11-14 18:14 UTC (permalink / raw)
To: Paul E. McKenney
Cc: linux-kernel, mingo, jiangshanlai, dipankar, akpm,
mathieu.desnoyers, tglx, peterz, rostedt, dhowells, edumazet,
dvhart, fweisbec, oleg, bobby.prani
On Mon, Nov 14, 2016 at 09:59:24AM -0800, Paul E. McKenney wrote:
> Hello!
>
> This series contains a couple of torture-test changes:
>
> 1. Remove obsolete files from the rcutorture .gitignore file.
>
> 2. Prevent the --jitter flag from delaying --build-only runs.
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-11-14 18:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-14 17:59 [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 1/2] torture: Remove obsolete files from rcutorture .gitignore Paul E. McKenney
2016-11-14 17:59 ` [PATCH tip/core/rcu 2/2] torture: Prevent jitter from delaying build-only runs Paul E. McKenney
2016-11-14 18:14 ` [PATCH tip/core/rcu 0/2] Torture-test changes for 4.10 Josh Triplett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).