From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: max symlink = 5? ?bug? ?feature deficit? Date: Mon, 13 Feb 2006 00:08:03 +0000 Message-ID: <20060213000803.GY27946@ftp.linux.org.uk> References: <43ED5A7B.7040908@tlinx.org> <20060212180601.GU27946@ftp.linux.org.uk> <43EFA63B.30907@tlinx.org> <20060212212504.GX27946@ftp.linux.org.uk> <43EFBCA9.1090501@tlinx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux-Kernel , linux-fsdevel@vger.kernel.org Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:53440 "EHLO ZenIV.linux.org.uk") by vger.kernel.org with ESMTP id S1751003AbWBMAIE (ORCPT ); Sun, 12 Feb 2006 19:08:04 -0500 To: Linda Walsh Content-Disposition: inline In-Reply-To: <43EFBCA9.1090501@tlinx.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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).