[PATCH] 2.4.7-pre3 kernel_stat -> cpu_stat[NR_CPUS]

2001-07-06 Thread Zach Brown
This patch does the following: - creates a cacheline aligned/padded struct cpu_stat[NR_CPUS]. - moves the [NR_CPUS] members of kernel_stat into cpu_stat This moves the stat data that a cpu will update into a contiguous region. Previous users of kernel_stat would compete for an array's

[PATCH] 2.4.7-pre3 kernel_stat - cpu_stat[NR_CPUS]

2001-07-06 Thread Zach Brown
This patch does the following: - creates a cacheline aligned/padded struct cpu_stat[NR_CPUS]. - moves the [NR_CPUS] members of kernel_stat into cpu_stat This moves the stat data that a cpu will update into a contiguous region. Previous users of kernel_stat would compete for an array's