linvfs_follow_link gets called recusively, up to 32 times before
the ELOOP checking kicks in in namei.
Aparently 32 uio structures and other assorted cruft is just enough
to overflow the kernel stack.
change stack allocated uio to kmalloced uio to cut down stack usage.
(I wonder if the whole uio thing could get dropped out somehow and
avoid this overhead? a static uio would be great too if we could avoid
an SMP race...)
Date: Wed Jun 14 18:37:47 PDT 2000
The following file(s) were checked into:
linux/fs/xfs/linux/xfs_iops.c - 1.53
- use less stack in linvfs_follow_link to avoid overflow on recursion