![]() | |||||||||||||
Messages in this thread |
On Sun, Feb 12, 2006 at 01:18:51PM -0800, Linda Walsh wrote: > Al Viro wrote: > >>Should it be something like Glib's '20' or '255'? > >> > > 20 or 255 - not feasible (we'll get stack overflow from hell). > > > How much stack is used/iteration? It appears we have a local pointer in > __do_follow_link, and 2 passed parameters/call + call-returns ->5 > pointers/iteration. "Forty" entries would seem to take 200 pointers or > 800 bytes of stack space? A limit of 20 would use 400 bytes? Care to RTFS? I mean, really - at least to the point of seeing what's involved in that recursion. - 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-12 22:27 [from the cache] ©2003-2008 | |||||||||||||