summaryrefslogtreecommitdiff
path: root/include/trace/events/rcu.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-21 00:18:23 +0300
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-08-31 02:03:41 +0300
commitc5bacd94173ec49d7dce7ac7c64bbdde3a6e69ae (patch)
treebbce90adbbad59d273e8cc250597ec5af5747476 /include/trace/events/rcu.h
parentc116dba68d19246639e4fdb8c75756c67d6d268f (diff)
downloadlinux-c5bacd94173ec49d7dce7ac7c64bbdde3a6e69ae.tar.xz
rcu: Motivate Tiny RCU forward progress
If a long-running CPU-bound in-kernel task invokes call_rcu(), the callback won't be invoked until the next context switch. If there are no other runnable tasks (which is not an uncommon situation on deep embedded systems), the callback might never be invoked. This commit therefore causes rcu_check_callbacks() to ask the scheduler for a context switch if there are callbacks posted that are still waiting for a grace period. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/trace/events/rcu.h')
0 files changed, 0 insertions, 0 deletions