Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030410AbVJEWsi (ORCPT ); Wed, 5 Oct 2005 18:48:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030411AbVJEWsi (ORCPT ); Wed, 5 Oct 2005 18:48:38 -0400 Received: from smtp.osdl.org ([65.172.181.4]:54453 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1030410AbVJEWsh (ORCPT ); Wed, 5 Oct 2005 18:48:37 -0400 Date: Wed, 5 Oct 2005 15:48:31 -0700 (PDT) From: Linus Torvalds To: Junio C Hamano cc: git@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: clone: I'm only doing a max of 256 requests In-Reply-To: <7vy857iqzh.fsf@assigned-by-dhcp.cox.net> Message-ID: References: <20051005191300.GC17475@hexapodia.org> <7virwbu4wz.fsf@assigned-by-dhcp.cox.net> <7vhdbvk6ln.fsf@assigned-by-dhcp.cox.net> <7vy857iqzh.fsf@assigned-by-dhcp.cox.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 689 Lines: 20 On Wed, 5 Oct 2005, Junio C Hamano wrote: > > Hmph. I was reading linux-2.6/fs/exec.c::copy_strings(), but I > do not see any such size limit (other than exceeding the total > machine memory size, probably reported by alloc_page() failing) > imposed there. Am I looking at the wrong place? Look for "MAX_ARG_PAGES". Ie the limit is about 128kB by default (32 pages). Note that that includes not just arguments, but environment. Linus - 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/