223 Commits (979a770ed08e8429ec61574823b51b42584ffe04)

Author SHA1 Message Date
  otto 7f29e95497 Less lock contention by using more pools for mult-threaded programs. 8 years ago
  tedu 6c73827bf7 black magic for sparc page size can go 8 years ago
  otto 8b9a47cd4e wrterror() is fatal, delete dead code; ok tom@ natano@ tedu@ 8 years ago
  otto 48a1ebbb9c J/j is a three valued option, document and fix code to actuall support that 8 years ago
  otto 4e61a98ad4 adapt S option: add C, rm F (not relevant with 0 cache and disables 8 years ago
  tb 071457b57b Back out previous; otto saw a potential race that could lead to a 8 years ago
  tedu 86a8b4eb22 defer munmap to after unlocking malloc. this can (unfortunately) be an 8 years ago
  otto 6ff3199d0a two times a define to an inline function, from Michael McConville; ok djm@ 9 years ago
  otto dc2fbbc2b1 tweak MALLOC_STATS printing (switched off by default), prodded by 9 years ago
  otto 848e061151 redundant memset(3), from Michael McConville, ok armani@ 9 years ago
  mmcc 71aec69783 properly guard to macros 9 years ago
  otto 32c6baecf9 small step towards multiple pools: move two globls into the struct dir_info 9 years ago
  guenther 34213b2037 environ and __progname are not declared in a public header; declare them 9 years ago
  deraadt 90378d363e refactor option letter parsing into a subfunction, to increase clarity 9 years ago
  otto 0af523ebbd Don't crash dumping malloc stats if malloc_init hasn't been called, noted by 9 years ago
  tedu c3dcc81b75 Long ago, malloc internally had two kinds of failures, warnings and errors. 9 years ago
  tedu 5724f1ae45 another case where bad things would happen after wrterror 9 years ago
  tedu 57beaad82f if somebody makes the mistake of disabling abort, don't deref null in 9 years ago
  tedu 1bd8c9e70f Integrate two patches originally from Daniel Micay. 9 years ago
  guenther ec1a04d68c For now, permit overriding of the malloc family, to make emacs happy 9 years ago
  guenther c8272cfe98 Wrap <stdlib.h> so that calls go direct and the symbols not in the 9 years ago
  tedu b4484c676a improve realloc. when expanding a region, actually use the free page cache 10 years ago
  deraadt 75d428b273 Move to the <limits.h> universe. 10 years ago
  tedu 06084f37f2 rename kern enter/exit macros to malloc enter/leave to better reflect 10 years ago
  tedu 69d8bb8294 a small tweak to improve malloc in multithreaded programs. we don't need 10 years ago
  tedu 705f1bf46e reduce obvious dependency on global g_pool by moving to local aliases 10 years ago
  deraadt df559b50e4 extra evil spaces snuck in over the last while 10 years ago
  otto 08ecfcb5b8 Move to a smaller rbytes buffer and skip a random part. Not to 10 years ago
  otto 7626939dd1 move random bytes buffer to be part of mmaped pages; ok tedu@ 11 years ago
  otto 547175abed move all stats collecting under MALLOC_STATS; ok krw@ 11 years ago
  otto 17d6cb272d fix MALLOC_STATS (not compiled in by default); ok tedu@ 11 years ago
  tedu 118f2caf23 factor out a bit of the chunk index code and use it to make sure that a 11 years ago
  tedu 508b771a99 change to having four freelists per size, to reduce another source of 11 years ago
  otto d7088c5a04 fix MALLOC_STATS code that was broken in rev 1.159, not compiled in by default 11 years ago
  deraadt a14ce349c7 move reallocarray() to a seperate file so that -portable applications 11 years ago
  halex 3a717658e6 comment style fix 11 years ago
  tedu 74c23bc915 nibbles aren't enough random, use bytes. does a better job of picking 11 years ago
  tedu c0d30f0eb0 remove Z option and default to something halfway to J. 11 years ago
  espie 41f1e88953 explain a bit more what's going on for stupid me. 11 years ago
  otto 8a0e8854ef Better, cleaner hash function that computes the same on be and le archs. 11 years ago
  tedu 07d1cf3ec2 change mallocarray to reallocarray. useful in a few more situations. 11 years ago
  deraadt 00d28c4faf Introducing: void *mallocarray(size_t nmemb, size_t size); 11 years ago
  otto d487e76537 print pid in error messages; ok reyk@ 11 years ago
  schwarze 93c318776d Update Copyright notice; ok otto@ beck@ deraadt@. 11 years ago
  beck 241e064849 Poul-Henning Kamp informed me he is allright with this licensing change. 11 years ago
  deraadt a728e0155c avoid arithetic on void * 11 years ago
  otto 09a0be7c23 Fix bug in random offset introduced in rev 1.143; random range was 12 years ago
  djm 83081452a3 Add a new malloc option 'U' => "Free unmap" that does the guarding/ 12 years ago
  pirofti 336a8ca4d4 Fix precedence bug (& has lower precedence than !=). 12 years ago
  deraadt 99a773bc80 use PAGE_SHIFT instead of PGSHIFT, in preperation for future 12 years ago