On Tue, 2002-08-27 at 11:58, Danny Cox wrote:
>
> Hi, Guys!
>
> After having read of the stack "issues" awhile back, and then having an
> idea or two gel in my head (it didn't hurt much ;-), I put them
> together, and found that xfs_ioctl() is using 752 bytes of stack. I
> chose 512 as the number of bytes above which to complain about, and
> looking at the code, I'd guess that the var "vattr_t va" struct is the
> main culprit.
Probably not just the vattr_t, most of the function is a large switch
statement, and each case in there has its own on the stack variables.
If the compiler is not being smart about it they would each get
their own non-overlapping space.
Thanks
Steve
p.s. and yes, please send the script.
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|