CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/09/06 00:41:03
Modified files:
lib/libc/stdlib: malloc.c
Log message:
For page-sized and larger allocations do not put the pages we're
shaving off into the cache but unamp them. Pages in the cache get
re-used and then a future grow of the first allocation will be
hampered. Also make realloc a no-op for small shrinkage.
ok deraadt@
