lkml.org 
[lkml]   [2006]   [Feb]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 13 Feb 2006 00:08:03 +0000
FromAl Viro <>
SubjectRe: max symlink = 5? ?bug? ?feature deficit?
On Sun, Feb 12, 2006 at 02:54:33PM -0800, Linda Walsh wrote:
> Al Viro wrote:
> >Care to RTFS? I mean, really - at least to the point of seeing what's
> >involved in that recursion.
> > 
> Hmmm...that's where I got the original parameter numbers, but
> I see it's not so straightforward.  I tried a limit of
> 40, but I quickly get an OS hang when trying to reference a
> 13th link.  Twelve works at the limit, but would take more testing
> to find out the bottleneck.

Sigh...  12 works at the limit on your particular config, filesystems
being used and syscall being issued (hint: amount of stuff on stack
before we enter mutual recursion varies; so does the amount of stuff
on stack we get from function that are not part of mutual recursion,
but are called from the damn thing).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-13 01:10    [from the cache]
©2003-2008