Re: [RFC][PATCH] cutting up struct kernel_stat into cpu_stat

2001-07-08 Thread Pavel Machek
Hi! > The attached patch-in-progress removes the per-cpu statistics from > struct kernel_stat and puts them in a cpu_stat structure, one per cpu, > cacheline padded. The data is still coolated and presented through > /proc/stat, but another file /proc/cpustat is also added. The locking > is as

Re: [RFC][PATCH] cutting up struct kernel_stat into cpu_stat

2001-06-21 Thread Albert D. Cahalan
Zach Brown writes: > The attached patch-in-progress removes the per-cpu statistics from > struct kernel_stat and puts them in a cpu_stat structure, one per cpu, > cacheline padded. The data is still coolated and presented through > /proc/stat, but another file /proc/cpustat is also added. The l

[RFC][PATCH] cutting up struct kernel_stat into cpu_stat

2001-06-21 Thread Zach Brown
The attached patch-in-progress removes the per-cpu statistics from struct kernel_stat and puts them in a cpu_stat structure, one per cpu, cacheline padded. The data is still coolated and presented through /proc/stat, but another file /proc/cpustat is also added. The locking is as nonexistant as