summaryrefslogtreecommitdiff
path: root/libc/stdlib
AgeCommit message (Expand)Author
2002-08-30Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.Miles Bader
2002-08-30(likely, unlikely): New macros.Miles Bader
2002-08-30(likely, unlikely): New macros.Miles Bader
2002-08-25Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
2002-08-19(CSRC): Make contents source files, not object files.Miles Bader
2002-08-19(CSRC): Add `memalign.c'.Miles Bader
2002-08-19Initial checkin.Miles Bader
2002-08-19(realloc): Follow new arg conventions of MALLOC_SET_SIZE.Miles Bader
2002-08-19(malloc): Use MALLOC_SETUP.Miles Bader
2002-08-19(MALLOC_SETUP): New macro.Miles Bader
2002-08-15Patch from Jarkko to fix drand48 to not use long long whenEric Andersen
2002-08-14Use __malloc_unlikely instead of `likely'.Miles Bader
2002-08-14Add flow-control hints with __malloc_likely and __malloc_unlikely.Miles Bader
2002-08-14(__malloc_likely, __malloc_unlikely): New macros.Miles Bader
2002-08-14Handle zero NEW_SIZE case.Miles Bader
2002-08-13Use `return' for null pointers, to avoid a giant block holding the restMiles Bader
2002-08-12Doh! missed a spot.Eric Andersen
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
2002-08-12Geez I'm an idiot some times. I shouldn't code when I'm exhausted.Eric Andersen
2002-08-09Add missing thread-safe locking.Eric Andersen
2002-08-08Fix lockingEric Andersen
2002-08-08Cleanup some silly warningsEric Andersen
2002-08-07Changed my mind. Keep this separate.Eric Andersen
2002-08-07Rewrite getenvEric Andersen
2002-08-07Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen
2002-08-06Unify calloc (its the same thing regardless of the underlyingEric Andersen
2002-08-01Use MALLOC_REALLOC_MIN_FREE_SIZE.Miles Bader
2002-08-01(MALLOC_REALLOC_MIN_FREE_SIZE): New macro.Miles Bader
2002-08-01(HEAP_MIN_SIZE): New macro.Miles Bader
2002-07-31In the allocate-and-copy case, don't include the malloc header in ourMiles Bader
2002-07-31Update debugging printfs.Miles Bader
2002-07-31Per discussion on the mailing list, simply vfork -> fork mapping to only applyEric Andersen
2002-07-31Account for MALLOC_HEADER_SIZE when calculating new size.Miles Bader
2002-07-31Use MALLOC_HEADER_SIZE.Miles Bader
2002-07-31(MALLOC_HEADER_SIZE): New macro.Miles Bader
2002-07-30Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.Miles Bader
2002-07-30Update the size of grown/shrunk allocations.Miles Bader
2002-07-30MALLOC_SET_SIZE now takes the user-address rather than the base-address.Miles Bader
2002-07-30Define MALLOC_SET_SIZE to take the user-address rather than the base-address.Miles Bader
2002-07-30Implement shrinking.Miles Bader
2002-07-30Use new malloc header macros.Miles Bader
2002-07-30Add macros to abstract the malloc header format a bit.Miles Bader
2002-07-25Size tweaks.Miles Bader
2002-07-25Miscellaneous tidying-up.Miles Bader
2002-07-25Redo the locking, so that it may actually work. Now locking is done atMiles Bader
2002-07-24Factor out some common code sequences into inline functions.Miles Bader
2002-07-24Misc small cleanups.Miles Bader
2002-07-24Remove, since it's entirely incorrectMiles Bader
2002-07-23* Automatically try to unmap heap free-areas when they get very big.Miles Bader