BKVASIZE was bumped to 16k more than a decade ago.

This commit is contained in:
Ruslan Ermilov 2011-05-23 19:59:01 +00:00
parent 10e71e2260
commit 5e863acb63

View File

@ -654,7 +654,7 @@ bufinit(void)
* To support extreme low-memory systems, make sure hidirtybuffers cannot
* eat up all available buffer space. This occurs when our minimum cannot
* be met. We try to size hidirtybuffers to 3/4 our buffer space assuming
* BKVASIZE'd (8K) buffers.
* BKVASIZE'd buffers.
*/
while ((long)hidirtybuffers * BKVASIZE > 3 * hibufspace / 4) {
hidirtybuffers >>= 1;