On Thu, 4 Oct 2007, Mathieu Chouquet-Stringer wrote: > > I've seen the changes you made in commit b6a2fea39318 and I guess they > might be responsible for my xargs breakage... > > In the kernel source tree, if I run a stupid find | xargs ls, I now get > this: > xargs: ls: Argument list too long
What does your "ulimit -s" say? I suspect that you might hit the code that limits execve() arguments to one quarter of the maximum stack size. We could change that from 25% to something else (half? three quarters?), but if you really are hitting that limit, it sounds like you may have a really small stack size to begin with (ie if 25% is smaller than the old argument size limit of 128kB, you're running with a stack limit of less than half a meg, which sounds pretty dang small). So I'd like to verify that the stack limit really is the issue, and not something else. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/