]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Make rcutorture's shuffler task shuffle recently added tasks
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 11 Jan 2013 00:21:07 +0000 (16:21 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 29 Jan 2013 06:19:54 +0000 (22:19 -0800)
commit035f8608ceeba81ba7eb0dc8f15b5b9818edb242
tree98a824aba939ebd38178e60a3ba4eb97a29fb97c
parent305726905bbb7cda9a96fbed1dd4fc708729efbb
rcu: Make rcutorture's shuffler task shuffle recently added tasks

A number of kthreads have been added to rcutorture, but the shuffler
task was not informed of them, and thus did not shuffle them.  This
commit therefore adds the requisite shuffling, and, while in the area
fixes up some whitespace issues.

However, the shuffling is intended to keep randomly selected CPUs
idle, which means that the RCU priority boosting kthreads need to
avoid waking up every jiffy.  This commit also makes that fix.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutorture.c