linux/fs/xfs
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
..
linux-2.6 [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
quota [XFS] Reduce stack use during quota mounts (caused a panic). This 2006-02-28 12:30:13 +11:00
support [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
Kbuild
Kconfig
Makefile
Makefile-linux-2.6
xfs_acl.c [PATCH] capable/capability.h (fs/) 2006-01-11 18:42:13 -08:00
xfs_acl.h
xfs_ag.h
xfs_alloc_btree.c
xfs_alloc_btree.h
xfs_alloc.c
xfs_alloc.h
xfs_arch.h [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_attr_leaf.c [XFS] Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and 2006-01-11 15:32:01 +11:00
xfs_attr_leaf.h [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_attr_sf.h
xfs_attr.c [PATCH] capable/capability.h (fs/) 2006-01-11 18:42:13 -08:00
xfs_attr.h
xfs_behavior.c
xfs_behavior.h
xfs_bit.c
xfs_bit.h
xfs_bmap_btree.c
xfs_bmap_btree.h
xfs_bmap.c [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_bmap.h [XFS] Implement the di_extsize allocator hint for non-realtime files as 2006-01-11 15:28:28 +11:00
xfs_btree.c
xfs_btree.h
xfs_buf_item.c
xfs_buf_item.h
xfs_cap.h
xfs_clnt.h [XFS] Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and 2006-01-11 15:32:01 +11:00
xfs_da_btree.c
xfs_da_btree.h
xfs_dfrag.c [XFS] add helper to get xfs_inode from vnode 2006-01-11 20:58:44 +11:00
xfs_dfrag.h
xfs_dinode.h [XFS] Sort out cosmetic differences between user and kernel copies of some 2006-01-11 15:33:02 +11:00
xfs_dir2_block.c
xfs_dir2_block.h
xfs_dir2_data.c
xfs_dir2_data.h
xfs_dir2_leaf.c
xfs_dir2_leaf.h
xfs_dir2_node.c
xfs_dir2_node.h
xfs_dir2_sf.c
xfs_dir2_sf.h
xfs_dir2_trace.c
xfs_dir2_trace.h
xfs_dir2.c
xfs_dir2.h [XFS] Sort out cosmetic differences between user and kernel copies of some 2006-01-11 15:33:02 +11:00
xfs_dir_leaf.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
xfs_dir_leaf.h [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_dir_sf.h
xfs_dir.c [XFS] Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and 2006-01-11 15:32:01 +11:00
xfs_dir.h [XFS] Sort out cosmetic differences between user and kernel copies of some 2006-01-11 15:33:02 +11:00
xfs_dmapi.h
xfs_dmops.c
xfs_error.c [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_error.h [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_extfree_item.c
xfs_extfree_item.h
xfs_fs.h [XFS] Sort out cosmetic differences between user and kernel copies of some 2006-01-11 15:33:02 +11:00
xfs_fsops.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
xfs_fsops.h [XFS] Write log dummy record when freezing filesystem 2006-01-11 15:30:08 +11:00
xfs_ialloc_btree.c
xfs_ialloc_btree.h
xfs_ialloc.c
xfs_ialloc.h
xfs_iget.c [XFS] add helper to get xfs_inode from vnode 2006-01-11 20:58:44 +11:00
xfs_imap.h
xfs_inode_item.c [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_inode_item.h
xfs_inode.c [XFS] Merge in trivial changes, sync up headers with userspace 2006-01-12 10:29:53 +11:00
xfs_inode.h [XFS] add helper to get xfs_inode from vnode 2006-01-11 20:58:44 +11:00
xfs_inum.h
xfs_iocore.c
xfs_iomap.c Merge HEAD from oss.sgi.com:/oss/git/linux-2.6.git 2006-01-12 13:34:47 +11:00
xfs_iomap.h
xfs_itable.c [XFS] Fix some build fallout from atime changes. 2006-01-11 21:03:04 +11:00
xfs_itable.h
xfs_log_priv.h [XFS] remove XFS_LOG_RES_DEBUG and turn on the res history all the time to 2006-01-11 21:02:47 +11:00
xfs_log_recover.c [XFS] Fix quotaoff logitem for project quota, affects log recovery only. 2006-01-11 15:35:57 +11:00
xfs_log_recover.h
xfs_log.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
xfs_log.h [XFS] remove XFS_LOG_RES_DEBUG and turn on the res history all the time to 2006-01-11 21:02:47 +11:00
xfs_mac.h
xfs_mount.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
xfs_mount.h [XFS] Complete the pagebuf -> xfs_buf naming convention transition, 2006-01-11 15:39:08 +11:00
xfs_qmops.c
xfs_quota.h
xfs_refcache.h
xfs_rename.c [XFS] add helper to get xfs_inode from vnode 2006-01-11 20:58:44 +11:00
xfs_rtalloc.c [XFS] Fix a realtime allocator regression introduced by an old iget race 2006-02-28 12:29:51 +11:00
xfs_rtalloc.h
xfs_rw.c [XFS] Complete the pagebuf -> xfs_buf naming convention transition, 2006-01-11 15:39:08 +11:00
xfs_rw.h
xfs_sb.h [XFS] Sort out cosmetic differences between user and kernel copies of some 2006-01-11 15:33:02 +11:00
xfs_trans_ail.c
xfs_trans_buf.c
xfs_trans_extfree.c
xfs_trans_inode.c
xfs_trans_item.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
xfs_trans_priv.h
xfs_trans_space.h
xfs_trans.c [XFS] Fix a thinko when generating a forced shutdown stack trace. 2006-01-11 15:37:00 +11:00
xfs_trans.h [XFS] Sort out cosmetic differences between user and kernel copies of some 2006-01-11 15:33:02 +11:00
xfs_types.h
xfs_utils.c [XFS] add helper to get xfs_inode from vnode 2006-01-11 20:58:44 +11:00
xfs_utils.h
xfs_vfsops.c [XFS] Fix v2 log bufsize reporting in /proc/mounts. 2006-01-11 15:35:32 +11:00
xfs_vnodeops.c return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
xfs.h