[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)
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>

No differences found