ia64/xen-unstable

annotate patches/linux-2.6.12/rcu-nohz.patch @ 8237:f3f0be058855

Update -xen config file to include newgen megaraid and qla scsi drivers.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Sun Dec 04 18:12:18 2005 +0100 (2005-12-04)
parents 06d84bf87159
children
rev   line source
kaf24@5201 1 diff -ur linux-2.6.11/kernel/rcupdate.c linux-2.6.11-rcu/kernel/rcupdate.c
kaf24@5201 2 --- linux-2.6.11/kernel/rcupdate.c 2005-05-30 10:51:41 +01:00
kaf24@5201 3 +++ linux-2.6.11-rcu/kernel/rcupdate.c 2005-05-30 10:53:53 +01:00
kaf24@5201 4 @@ -202,8 +202,11 @@
kaf24@5201 5 */
kaf24@5201 6 static void cpu_quiet(int cpu, struct rcu_ctrlblk *rcp, struct rcu_state *rsp)
kaf24@5201 7 {
kaf24@5201 8 + cpumask_t mask;
kaf24@5201 9 +
kaf24@5201 10 cpu_clear(cpu, rsp->cpumask);
kaf24@5201 11 - if (cpus_empty(rsp->cpumask)) {
kaf24@5201 12 + cpus_andnot(mask, rsp->cpumask, nohz_cpu_mask);
kaf24@5201 13 + if (cpus_empty(mask)) {
kaf24@5201 14 /* batch completed ! */
kaf24@5201 15 rcp->completed = rcp->cur;
kaf24@5201 16 rcu_start_batch(rcp, rsp, 0);