linux/fs/xfs/linux-2.6
Andrew Morton 394e3902c5 [PATCH] more for_each_cpu() conversions
When we stop allocating percpu memory for not-possible CPUs we must not touch
the percpu data for not-possible CPUs at all.  The correct way of doing this
is to test cpu_possible() or to use for_each_cpu().

This patch is a kernel-wide sweep of all instances of NR_CPUS.  I found very
few instances of this bug, if any.  But the patch converts lots of open-coded
test to use the preferred helper macros.

Cc: Mikael Starvik <starvik@axis.com>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Kyle McMartin <kyle@parisc-linux.org>
Cc: Anton Blanchard <anton@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: William Lee Irwin III <wli@holomorphy.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Christian Zankel <chris@zankel.net>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: Nathan Scott <nathans@sgi.com>
Cc: Jens Axboe <axboe@suse.de>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-23 07:38:17 -08:00
..
kmem.c [XFS] Cleanup cosmetic differences between source trees. 2005-11-03 16:14:31 +11:00
kmem.h [PATCH] mm: rename kmem_cache_s to kmem_cache 2005-11-07 07:53:24 -08:00
mrlock.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
mutex.h [XFS] mutex fallout - fix debug builds and remove no-longer-useful comment. 2006-01-16 16:21:34 +11:00
sema.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
spin.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
sv.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
time.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_aops.c [XFS] Don't map non-uptodate buffers in xfs_probe_cluster; also fixes 2006-02-28 12:30:30 +11:00
xfs_aops.h [XFS] Initial pass at going directly-to-bio on the buffered IO path. This 2006-01-11 15:40:13 +11:00
xfs_buf.c [PATCH] page migration reorg 2006-03-22 07:54:06 -08:00
xfs_buf.h [XFS] Complete the pagebuf -> xfs_buf naming convention transition, 2006-01-11 15:39:08 +11:00
xfs_cred.h [PATCH] move capable() to capability.h 2006-01-11 18:42:13 -08:00
xfs_export.c [XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS. 2005-11-02 15:11:45 +11:00
xfs_export.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_file.c [XFS] add helper to get xfs_inode from vnode 2006-01-11 20:58:44 +11:00
xfs_fs_subr.c [PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait) 2006-01-08 20:13:47 -08:00
xfs_fs_subr.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_globals.c [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_globals.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_ioctl32.c [PATCH] don't include ioctl32.h in drivers 2006-01-10 08:01:34 -08:00
xfs_ioctl32.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_ioctl.c Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 2006-01-12 09:10:34 -08:00
xfs_iops.c [XFS] Fix missing inode atime update from the utime syscall. 2006-02-07 20:27:44 +11:00
xfs_iops.h [XFS] Initial pass at going directly-to-bio on the buffered IO path. This 2006-01-11 15:40:13 +11:00
xfs_linux.h [XFS] Initial pass at going directly-to-bio on the buffered IO path. This 2006-01-11 15:40:13 +11:00
xfs_lrw.c [XFS] Complete the pagebuf -> xfs_buf naming convention transition, 2006-01-11 15:39:08 +11:00
xfs_lrw.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_stats.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
xfs_stats.h [XFS] Complete the pagebuf -> xfs_buf naming convention transition, 2006-01-11 15:39:08 +11:00
xfs_super.c [XFS] xfssyncd is responsible for flushing inode or device's data by 2006-01-11 21:02:29 +11:00
xfs_super.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_sysctl.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
xfs_sysctl.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_version.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_vfs.c [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00
xfs_vfs.h [XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS. 2005-11-02 15:11:45 +11:00
xfs_vnode.c [XFS] fix, speedup and simplify atime handling let the VFS handle atime 2006-01-11 15:35:17 +11:00
xfs_vnode.h [XFS] Fix some build fallout from atime changes. 2006-01-11 21:03:04 +11:00