From owner-cvs-src@FreeBSD.ORG Mon Nov 19 19:42:45 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B49BA16A419; Mon, 19 Nov 2007 19:42:45 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id AC9AE13C457; Mon, 19 Nov 2007 19:42:44 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 73B1266A22E; Mon, 19 Nov 2007 20:42:38 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D-WfTQPI9csB; Mon, 19 Nov 2007 20:42:37 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 5315166A21E; Mon, 19 Nov 2007 20:42:37 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id lAJJga1t061642; Mon, 19 Nov 2007 20:42:36 +0100 (CET) (envelope-from rdivacky) Date: Mon, 19 Nov 2007 20:42:36 +0100 From: Roman Divacky To: Ulrich Spoerlein Message-ID: <20071119194236.GA61631@freebsd.org> References: <200710161040.l9GAes88010153@repoman.freebsd.org> <20071118224216.GA29048@freebsd.org> <20071119025328.GU8950@elvis.mu.org> <20071119184111.GB1516@roadrunner.spoerlein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071119184111.GB1516@roadrunner.spoerlein.net> User-Agent: Mutt/1.4.2.3i Cc: cvs-src@freebsd.org, Alfred Perlstein Subject: Re: cvs commit: src/sys/kern subr_param.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 19:42:45 -0000 On Mon, Nov 19, 2007 at 07:41:11PM +0100, Ulrich Spoerlein wrote: > On Sun, 18.11.2007 at 18:53:28 -0800, Alfred Perlstein wrote: > > * Roman Divacky [071118 14:42] wrote: > > > On Tue, Oct 16, 2007 at 10:40:54AM +0000, Alfred Perlstein wrote: > > > > Modified files: > > > > sys/kern subr_param.c > > > > Log: > > > > Export maxswzone, maxbcache, maxtsiz, dfldsiz, maxdsiz, dflssiz, maxssiz, > > > > and sgrowsiz via sysctl. > > > > > > why is maxssiz RD_ONLY? its used only in exec_new_vmspace() for setting the default > > > stack area size and only if thats not set by sysentvec, so it's RW already just > > > not defined so. > > > > > > also... dflssiz is not used at all, and the "default stack size" is set by maxssiz > > > > If you think it can be safely changed, then go for it! > > Could this be done for maxdsiz, too? It's kinda sad you need to reboot a > FreeBSD system to work around the 512MB data size limit (in this day and > age, processes can easily hit the 512MB barrier) as I can see the maxdsiz is used only as a barrier for rlimit.. I see no harm in changing that to RW too.. I already asked kib@ if he's willing to commit this, waiting for answer...