The patch titled nfs_show_stats: for_each_possible_cpu(), not NR_CPUS has been added to the -mm tree. Its filename is nfs_show_stats-for_each_possible_cpu-not-nr_cpus.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: John Hawkes <hawkes@xxxxxxx> Convert a for-loop that explicitly references "NR_CPUS" into the potentially more efficient for_each_possible_cpu() construct. Signed-off-by: John Hawkes <hawkes@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/nfs/inode.c | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) diff -puN fs/nfs/inode.c~nfs_show_stats-for_each_possible_cpu-not-nr_cpus fs/nfs/inode.c --- 25/fs/nfs/inode.c~nfs_show_stats-for_each_possible_cpu-not-nr_cpus Thu Apr 13 16:35:40 2006 +++ 25-akpm/fs/nfs/inode.c Thu Apr 13 16:35:40 2006 @@ -700,12 +700,9 @@ static int nfs_show_stats(struct seq_fil /* * Display superblock I/O counters */ - for (cpu = 0; cpu < NR_CPUS; cpu++) { + for_each_possible_cpu(cpu) { struct nfs_iostats *stats; - if (!cpu_possible(cpu)) - continue; - preempt_disable(); stats = per_cpu_ptr(nfss->io_stats, cpu); _ Patches currently in -mm which might be from hawkes@xxxxxxx are nfs_show_stats-for_each_possible_cpu-not-nr_cpus.patch sched-implement-smpnice.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html