Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48d684fd authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 8be7f505
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -758,7 +758,6 @@ rcu_torture_writer(void *arg)
	int nsynctypes = 0;
	int nsynctypes = 0;


	VERBOSE_TOROUT_STRING("rcu_torture_writer task started");
	VERBOSE_TOROUT_STRING("rcu_torture_writer task started");
	set_user_nice(current, MAX_NICE);


	/* Initialize synctype[] array.  If none set, take default. */
	/* Initialize synctype[] array.  If none set, take default. */
	if (!gp_cond1 && !gp_exp1 && !gp_normal1 && !gp_sync)
	if (!gp_cond1 && !gp_exp1 && !gp_normal1 && !gp_sync)