rcu/tree: Fix SCHED_FIFO params
authorPeter Zijlstra <peterz@infradead.org>
Thu, 1 Aug 2019 10:42:06 +0000 (12:42 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 8 Aug 2019 07:09:30 +0000 (09:09 +0200)
commit130d9c331bc59a8733b47c58ef197a2b1fa3ed43
tree474a7fcc4eb4f441bc91415aa0e85f4a38a766e8
parenta1dc0446d64966dc0ae756aebdc449f335742c13
rcu/tree: Fix SCHED_FIFO params

A rather embarrasing mistake had us call sched_setscheduler() before
initializing the parameters passed to it.

Fixes: 1a763fd7c633 ("rcu/tree: Call setschedule() gp ktread to SCHED_FIFO outside of atomic region")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
kernel/rcu/tree.c