]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Dump specified number of blocked tasks
authorNeeraj Upadhyay <neeraju@codeaurora.org>
Fri, 29 Mar 2019 09:55:52 +0000 (15:25 +0530)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 28 May 2019 16:02:57 +0000 (09:02 -0700)
commitfdb5ceb2f59a101f914176aa8f1dfe44c5fbc3d3
tree4208682b1c81111d5e16ee62b3b1b3de04863ad6
parent49250288820449e26abffc1305ba221bd05ce90d
rcu: Dump specified number of blocked tasks

The dump_blkd_tasks() function dumps at most 10 blocked tasks, ignoring
the value of the ncheck parameter.  This commit therefore substitutes
the value of ncheck for the hard-coded value of 10.  Because all callers
currently pass 10 as the number, this patch does not change behavior,
but it is clearly an accident waiting to happen.

Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree_plugin.h