]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a default value for VM_BCACHE_SIZE_MAX of 400MB. This is copied from
authorKris Kennaway <kris@FreeBSD.org>
Fri, 14 Oct 2005 20:31:12 +0000 (20:31 +0000)
committerKris Kennaway <kris@FreeBSD.org>
Fri, 14 Oct 2005 20:31:12 +0000 (20:31 +0000)
commit3c2adf40e980b8f47daeb5b434ef65199975f379
tree53b5a912fffed551dacc6c21f4287cb7ab42b804
parent728ef95410cd9865c5a84f90f4500f63f8ce5ee9
Add a default value for VM_BCACHE_SIZE_MAX of 400MB.  This is copied from
amd64, and is a factor of 3 less than the value previously auto-sized on
a 12GB machine, which would cause an overflow in calculations involving the
maxbcache int, causing bufinit() to loop forever at boot.

Reviewed by: mlaier, peter
sys/sparc64/include/param.h