direct-io.hg

view patches/linux-2.6.16.13/xen-hotplug.patch @ 11522:1fae74cd3963

[POWERPC][XEN] Fix infinite loop caused by hdec storm

This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Thu Sep 14 22:06:15 2006 -0400 (2006-09-14)
parents c6da0c5b03ff
children
line source
1 --- ../pristine-linux-2.6.16.13/fs/proc/proc_misc.c 2006-05-02 22:38:44.000000000 +0100
2 +++ ./fs/proc/proc_misc.c 2006-05-22 15:29:34.000000000 +0100
3 @@ -433,7 +433,7 @@ static int show_stat(struct seq_file *p,
4 (unsigned long long)cputime64_to_clock_t(irq),
5 (unsigned long long)cputime64_to_clock_t(softirq),
6 (unsigned long long)cputime64_to_clock_t(steal));
7 - for_each_online_cpu(i) {
8 + for_each_cpu(i) {
10 /* Copy values here to work around gcc-2.95.3, gcc-2.96 */
11 user = kstat_cpu(i).cpustat.user;