[XFS] using a spinlock per cpu for superblock counter exclusion results in
authorDavid Chinner <dgc@sgi.com>
Tue, 14 Mar 2006 02:29:16 +0000 (13:29 +1100)
committerNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:29:16 +0000 (13:29 +1100)
commit01e1b69cfcdcfdd5b405165eaba29428f8b18a7c
tree3ca7e8d0047ff03ca532f39b0fc4cd50381e8ecc
parent87cbc49cd4b773a972bce56c5dd09c4717f3285b
[XFS] using a spinlock per cpu for superblock counter exclusion results in
a preÄ“mpt counter overflow at 256p and above. Change the exclusion
mechanism to use atomic bit operations and busy wait loops to emulate the
spin lock exclusion mechanism but without the preempt count issues.

SGI-PV: 950027
SGI-Modid: xfs-linux-melb:xfs-kern:25338a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_linux.h
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h