[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804261651.02078.vda.linux@googlemail.com>
Date: Sat, 26 Apr 2008 16:51:02 +0200
From: Denys Vlasenko <vda.linux@...glemail.com>
To: David Chinner <dgc@....com>
Cc: xfs@....sgi.com, Eric Sandeen <sandeen@...deen.net>,
Adrian Bunk <bunk@...nel.org>, linux-kernel@...r.kernel.org
Subject: [PATCH] xfs: reduce stack usage in xfs_bmap_btalloc()
Hi David,
This patch reduces xfs_bmap_btalloc() stack usage by 50 bytes
by moving part of its body into a helper function.
This results in some variables not taking stack space in
xfs_bmap_btalloc() anymore.
The helper itself does not call anything stack-deep.
Stack-deep call to xfs_alloc_vextent() happen
in xfs_bmap_btalloc(), as before.
Compile tested only.
Signed-off-by: Denys Vlasenko <vda.linux@...glemail.com>
--
vda
View attachment "stk1.diff" of type "text/x-diff" (3624 bytes)
Powered by blists - more mailing lists