OpenCloudOS-Kernel/include/trace
Paul E. McKenney a26ac2455f rcu: move TREE_RCU from softirq to kthread
If RCU priority boosting is to be meaningful, callback invocation must
be boosted in addition to preempted RCU readers.  Otherwise, in presence
of CPU real-time threads, the grace period ends, but the callbacks don't
get invoked.  If the callbacks don't get invoked, the associated memory
doesn't get freed, so the system is still subject to OOM.

But it is not reasonable to priority-boost RCU_SOFTIRQ, so this commit
moves the callback invocations to a kthread, which can be boosted easily.

Also add comments and properly synchronized all accesses to
rcu_cpu_kthread_task, as suggested by Lai Jiangshan.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2011-05-05 23:16:54 -07:00
..
events rcu: move TREE_RCU from softirq to kthread 2011-05-05 23:16:54 -07:00
define_trace.h tracing: Include module.h in define_trace.h 2011-01-07 15:44:56 -05:00
ftrace.h tracing: Replace trace_event struct array with pointer array 2011-02-02 21:37:13 -05:00
syscall.h tracing: Use a global field list for all syscall exit events 2010-06-28 17:12:44 -04:00