]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: tune vmparam.h towards a little more modern
authorKyle Evans <kevans@FreeBSD.org>
Thu, 31 Dec 2020 17:12:39 +0000 (11:12 -0600)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 31 Dec 2020 17:13:13 +0000 (11:13 -0600)
commit202aea9c82eaab1c73351d4e971347c4109ef59b
tree1f59db292b9842d9987bea5a564f21a1033fd274
parentc4a0333b55e08f38985828a3a2d3ee533325c568
arm: tune vmparam.h towards a little more modern

An 8MB max stack size is quite limiting in today's world, and in-fact is
the *default* stack size for almost every other arch (including mips).

Raise the default to 4MB (should be pretty reasonable) and the max to 64MB.
NetBSD made a similar move back in 2015 and raised MAXDSIZ to 1856 at the
same time, so let's just roll that in as well. They later lowered it, but
eventually raised it back to 1856 in order to build rust.

This was noticed while looking at qemu-bsd-user's default stack sizes and
growth behavior (or lack thereof).

Reviewed by: ian
Differential Revision: https://reviews.freebsd.org/D27218
sys/arm/include/vmparam.h