linux-stable/fs/xfs/support
David Chinner 7989cb8ef5 [XFS] Keep stack usage down for 4k stacks by using noinline.
gcc-4.1 and more recent aggressively inline static functions which
increases XFS stack usage by ~15% in critical paths. Prevent this from
occurring by adding noinline to the STATIC definition.

Also uninline some functions that are too large to be inlined and were
causing problems with CONFIG_FORCED_INLINING=y.

Finally, clean up all the different users of inline, __inline and
__inline__ and put them under one STATIC_INLINE macro. For debug kernels
the STATIC_INLINE macro uninlines those functions.

SGI-PV: 957159
SGI-Modid: xfs-linux-melb:xfs-kern:27585a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: David Chatterton <chatz@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
2007-02-10 18:34:56 +11:00
..
debug.c [XFS] Prevent buffer overrun in cmn_err(). 2007-02-10 18:34:38 +11:00
debug.h [XFS] Keep stack usage down for 4k stacks by using noinline. 2007-02-10 18:34:56 +11:00
ktrace.c [XFS] Add a debug flag for allocations which are known to be larger than 2006-09-28 11:03:05 +10:00
ktrace.h [XFS] Fix sparse warnings in ktrace.[ch] 2005-11-02 15:07:23 +11:00
move.c [XFS] rename uio_read() to xfs_uio_read() 2006-11-11 18:04:41 +11:00
move.h [XFS] rename uio_read() to xfs_uio_read() 2006-11-11 18:04:41 +11:00
uuid.c [XFS] UUID endianess fix. uu_timelow is a 32bit field and needs to be 2006-03-14 13:24:46 +11:00
uuid.h [XFS] Update license/copyright notices to match the prefered SGI 2005-11-02 14:58:39 +11:00