linux/fs/xfs/support
David Chinner 6ee4752ffe [XFS] Use atomic counters for ktrace buffer indexes
ktrace_enter() is consuming vast amounts of CPU time due to the use of a
single global lock for protecting buffer index increments. Change it to
use per-buffer atomic counters - this reduces ktrace_enter() overhead
during a trace intensive test on a 4p machine from 58% of all CPU time to
12% and halves test runtime.

SGI-PV: 977546
SGI-Modid: xfs-linux-melb:xfs-kern:30537a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-04-18 11:39:55 +10:00
..
debug.c [XFS] lose xfs_hex_dump in favor of print_hex_dump 2008-02-07 18:13:05 +11:00
debug.h [XFS] fix ASSERT and ASSERT_ALWAYS 2007-09-05 14:49:30 +10:00
ktrace.c [XFS] Use atomic counters for ktrace buffer indexes 2008-04-18 11:39:55 +10:00
ktrace.h [XFS] Use atomic counters for ktrace buffer indexes 2008-04-18 11:39:55 +10:00
uuid.c [XFS] add __init/__exit mark to specific init/cleanup functions 2008-02-07 18:25:19 +11:00
uuid.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00