diff options
Diffstat (limited to 'kernel/rcutorture.c')
-rw-r--r-- | kernel/rcutorture.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 9b58f1eff3ca..eb6719c50b4e 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -195,6 +195,8 @@ rcu_torture_writer(void *arg) | |||
195 | static DEFINE_RCU_RANDOM(rand); | 195 | static DEFINE_RCU_RANDOM(rand); |
196 | 196 | ||
197 | VERBOSE_PRINTK_STRING("rcu_torture_writer task started"); | 197 | VERBOSE_PRINTK_STRING("rcu_torture_writer task started"); |
198 | set_user_nice(current, 19); | ||
199 | |||
198 | do { | 200 | do { |
199 | schedule_timeout_uninterruptible(1); | 201 | schedule_timeout_uninterruptible(1); |
200 | if (rcu_batches_completed() == oldbatch) | 202 | if (rcu_batches_completed() == oldbatch) |
@@ -238,6 +240,8 @@ rcu_torture_reader(void *arg) | |||
238 | int pipe_count; | 240 | int pipe_count; |
239 | 241 | ||
240 | VERBOSE_PRINTK_STRING("rcu_torture_reader task started"); | 242 | VERBOSE_PRINTK_STRING("rcu_torture_reader task started"); |
243 | set_user_nice(current, 19); | ||
244 | |||
241 | do { | 245 | do { |
242 | rcu_read_lock(); | 246 | rcu_read_lock(); |
243 | completed = rcu_batches_completed(); | 247 | completed = rcu_batches_completed(); |