summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify
diff options
context:
space:
mode:
authorMiroslav Benes <mbenes@suse.cz>2014-12-22 11:10:12 -0800
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-01-15 23:33:16 -0800
commitec1fe396ff42e240c9b32111ee53665c5916fe5e (patch)
treeb9199fa245a072d9428e16d7faf24ae84246271a /fs/notify/fanotify
parentfb81a44b88e6173ed0f6e9d6a1afa5305fb63f6e (diff)
downloadblackbird-obmc-linux-ec1fe396ff42e240c9b32111ee53665c5916fe5e.tar.gz
blackbird-obmc-linux-ec1fe396ff42e240c9b32111ee53665c5916fe5e.zip
rcu: Fix RCU CPU stall detection in tiny implementation
The tiny RCU CPU stall detection depends on *rcp->curtail not being NULL. It is however a tail pointer and thus NULL by definition. Instead we should check rcp->rcucblist for the presence of pending callbacks which need to be processed. With this fix INFO about the stall is printed and jiffies_stall (jiffies at next stall) correctly updated. Note that the check for pending callback is necessary to avoid spurious warnings if there are no pendings callbacks. Signed-off-by: Miroslav Benes <mbenes@suse.cz> [ paulmck: Fused identical "if" statements, ported to -rcu. ] Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'fs/notify/fanotify')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud