diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-04-01 14:57:13 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-05-14 09:46:26 -0700 |
commit | 48d684fdad83d7525a557e6ff9c37811b6a9947b (patch) | |
tree | c5541ebf479cbd0f6d0a1206b3e1719b416c4a88 /kernel/rcu | |
parent | 8be7f505f9f04924025b568e5f135d9b082dfc1d (diff) | |
download | op-kernel-dev-48d684fdad83d7525a557e6ff9c37811b6a9947b.zip op-kernel-dev-48d684fdad83d7525a557e6ff9c37811b6a9947b.tar.gz |
rcutorture: Run rcu_torture_writer at normal priority
There are usually lots of readers and only one writer, so if there has
to be a choice, we would want rcu_torture_writer to win. This commit
therefore removes the set_user_nice() from rcu_torture_writer().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/rcutorture.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c index a7d1806..4b7b97f 100644 --- a/kernel/rcu/rcutorture.c +++ b/kernel/rcu/rcutorture.c @@ -758,7 +758,6 @@ rcu_torture_writer(void *arg) int nsynctypes = 0; VERBOSE_TOROUT_STRING("rcu_torture_writer task started"); - set_user_nice(current, MAX_NICE); /* Initialize synctype[] array. If none set, take default. */ if (!gp_cond1 && !gp_exp1 && !gp_normal1 && !gp_sync) |