Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/venti-default-memsize/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Correct two errors which sabotaged venti's calculation of default cache sizes:
- stfree is uninitialized if '-m' parameter not given, which causes
the first call of allocbypcnt() to produce bogus results
- config.mem is set to ~0 if 'mem =' not given in config file, but
sizeallocs() takes this as a genuine value and overrides the default
with it, and then allocminima() overrides it again to 1MB

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.