xfs_ioctl is a swiss-army knife function and as a result, it
was the #1 stack hog in xfs. By moving the stack-hungry ioctl cases
into their own functions, stack usage for this function is -greatly- reduced.
(from around 2000 bytes to around 200 bytes).
Of course the new functions have stack usage of their own, but every
ioctl call should now use less stack, and in some cases -much- less.
Date: Wed Aug 28 10:52:35 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:126253a
linux/fs/xfs/linux/xfs_ioctl.c - 1.74
- GREATLY reduce stack usage by moving the stack-hungry cases into
their own functions.
|