Browse Source

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>
Paul E. McKenney 11 năm trước cách đây
mục cha
commit
48d684fdad
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      kernel/rcu/rcutorture.c

+ 0 - 1
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)