diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-11 14:19:35 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-04-11 14:19:35 +0200 |
commit | ca9d65e40b3f78d2580fff9ff1844bad1be08673 (patch) | |
tree | a82f5577a3e5e93ea8b2865916f270ac1b41f81b /sys/src/cmd/vl/l.h | |
parent | 49c159b50f113fe0c61cc841c14a6fc664f87b49 (diff) |
cc: remove mysbrk(), exponentially increase gethunk() allocation delta
mysbrk() was only used in gethunk() and should not be
called by anyone, so dont export the symbol.
simplify gethunk() using brk().
double allocation size on each call until we reach
1000*NHUNK.
use signed long for nhunk as alignment rountin might
make it negative and handle that case.
Diffstat (limited to 'sys/src/cmd/vl/l.h')
0 files changed, 0 insertions, 0 deletions