direct-io.hg

view patches/linux-2.6.18/xen-hotplug.patch @ 14379:460dac5742cf

Implement VM_metrics Xen-API class.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Wed Mar 14 20:41:56 2007 +0000 (2007-03-14)
parents 3adf00179a63
children
line source
1 diff -pruN ../orig-linux-2.6.18/fs/proc/proc_misc.c ./fs/proc/proc_misc.c
2 --- ../orig-linux-2.6.18/fs/proc/proc_misc.c 2006-09-20 04:42:06.000000000 +0100
3 +++ ./fs/proc/proc_misc.c 2007-01-12 18:18:36.000000000 +0000
4 @@ -471,7 +471,7 @@ static int show_stat(struct seq_file *p,
5 (unsigned long long)cputime64_to_clock_t(irq),
6 (unsigned long long)cputime64_to_clock_t(softirq),
7 (unsigned long long)cputime64_to_clock_t(steal));
8 - for_each_online_cpu(i) {
9 + for_each_possible_cpu(i) {
11 /* Copy values here to work around gcc-2.95.3, gcc-2.96 */
12 user = kstat_cpu(i).cpustat.user;