summaryrefslogtreecommitdiffstats
path: root/drivers/block/xd.h
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2008-02-08 04:22:12 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 09:22:44 -0800
commit2dafe1c4d69345539735cca64250f2d4657bd057 (patch)
treea156663f7963869b6f4d6cd4afcc141064fc0329 /drivers/block/xd.h
parentac2a659968f5318a180213f0409c2ea21f072820 (diff)
downloadblackbird-op-linux-2dafe1c4d69345539735cca64250f2d4657bd057.tar.gz
blackbird-op-linux-2dafe1c4d69345539735cca64250f2d4657bd057.zip
reduce large do_mount stack usage with noinlines
do_mount() uses a whopping 616 bytes of stack on x86_64 in 2.6.24-mm1, largely thanks to gcc inlining the various helper functions. noinlining these can slim it down a lot; on my box this patch gets it down to 168, which is mostly the struct nameidata nd; left on the stack. These functions are called only as do_mount() helpers; none of them should be in any path that would see a performance benefit from inlining... Signed-off-by: Eric Sandeen <sandeen@redhat.com> Cc: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/xd.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud