cvs commit: src/sys/kern subr_param.c

Ulrich Spoerlein uspoerlein at gmail.com
Mon Nov 19 11:32:04 PST 2007


On Sun, 18.11.2007 at 18:53:28 -0800, Alfred Perlstein wrote:
> * Roman Divacky <rdivacky at FreeBSD.org> [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)

Cheers,
Ulrich Spoerlein
-- 
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.


More information about the cvs-src mailing list