projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scftorture: Add cond_resched() to test loop
[linux-2.6-microblaze.git]
/
kernel
/
scftorture.c
diff --git
a/kernel/scftorture.c
b/kernel/scftorture.c
index
fc22bcc
..
554a521
100644
(file)
--- a/
kernel/scftorture.c
+++ b/
kernel/scftorture.c
@@
-420,6
+420,7
@@
static int scftorture_invoker(void *arg)
set_cpus_allowed_ptr(current, cpumask_of(cpu));
was_offline = false;
}
+ cond_resched();
} while (!torture_must_stop());
VERBOSE_SCFTORTOUT("scftorture_invoker %d ended", scfp->cpu);