diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-10-05 11:59:38 -0700 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-10 16:37:21 -0500 |
commit | ee80eb837f400bdabc0a71990ade4c195d5912cd (patch) | |
tree | 2fec1fc3a38f3316f9616e1f7116c060665aef65 /include/linux/spinlock_api_up.h | |
parent | f5551a8c1826c62aec175924fd89be6fc1b0bab2 (diff) |
rcu: Merge RCU-bh into RCU-preempt
The Linux kernel has long RCU-bh read-side critical sections that
intolerably increase scheduling latency under mainline's RCU-bh rules,
which include RCU-bh read-side critical sections being non-preemptible.
This patch therefore arranges for RCU-bh to be implemented in terms of
RCU-preempt for CONFIG_PREEMPT_RT_FULL=y.
This has the downside of defeating the purpose of RCU-bh, namely,
handling the case where the system is subjected to a network-based
denial-of-service attack that keeps at least one CPU doing full-time
softirq processing. This issue will be fixed by a later commit.
The current commit will need some work to make it appropriate for
mainline use, for example, it needs to be extended to cover Tiny RCU.
[ paulmck: Added a useful changelog ]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/20111005185938.GA20403@linux.vnet.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/spinlock_api_up.h')
0 files changed, 0 insertions, 0 deletions