rcutorture: Run rcu_torture_writer at normal priority
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 1 Apr 2014 21:57:13 +0000 (14:57 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 16:46:26 +0000 (09:46 -0700)
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>
kernel/rcu/rcutorture.c

index a7d18069a96d62aef24a8b4397cd40a6e6808046..4b7b97ff1195b453bbaa497640a4b008a63de7f9 100644 (file)
@@ -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)
This page took 0.02665 seconds and 5 git commands to generate.