summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cwfs/malloc.c
AgeCommit message (Collapse)Author
2014-08-09cwfs: fix 32bit multiplication overflows for allocation sizes (thanks kenji ↵cinap_lenrek
okomoto)
2014-05-03cwfs: fix 1GB memsize limitationcinap_lenrek
the malloc pool allocator is limited in its allocation size. as almost all data structures in cwfs are never freed, use brk() in ialloc() instead of mallocalign(). this means memory returned by ialloc() cannot be freed! to make sure we do not call free by accident, remove the #define malloc(n) ialloc(n, 0) macro and use ialloc() directly as in the original code to show the intend of permanent allocations.
2014-02-07cwfs: limit memsize() to 1GB until pool can handle huge allocationscinap_lenrek
2012-05-18cwfs: add fsmempercent enviroment variable to control iobuffer allocationcinap_lenrek
2011-07-22cwfs: fixed memsize()aiju
2011-06-16remove mconf cruftcinap_lenrek
2011-04-28cwfs: reduce verbosity, added -d options if you want it anywaycinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen