[PATCH 00/13] Clean malloc() implementation

Juergen Beisert jbe at pengutronix.de
Thu Dec 10 07:15:43 EST 2009


On Montag, 23. November 2009, Juergen Beisert wrote:
> This patch set tries to clean up the current malloc source code to get rid
> of all the ugly and unused code in these files.
>
> There should no change in its behaviour, but its tested only on my current
> x86 implementation and it should be still fully bisectable.

The following changes since commit c5d512eaa2933940af900454c616302d3ab3ac6b:
  Sascha Hauer (1):
        Merge branch 'for-sha-i2c-imx' of git://git.pengutronix.de/git/mkl/u-boot-v2

are available in the git repository at:

  octopus:/home/jbe/work/u-boot-v2 next_malloc_cleanup

Juergen Beisert (13):
      Move variables to bss
      Include the 'size_t' declaration
      Remove unused code
      Move private settings and configuration into the C source
      Use the native 'void' instead of 'Void_t'
      Remove confusing macros that hide the real functions names
      After moving all declarations to the C source, do the same with the doc
      Use nowadays function prototypes
      Remove debug code
      Remove win32 support
      Use the global string functions
      Combine memory initialization with the main memory functions.
      Re-format the file

 common/dlmalloc.c    | 2497 +++++++++++++++++++++++++-------------------------
 common/misc.c        |   49 -
 include/malloc.h     |  929 +------------------
 include/mem_malloc.h |    2 -
 4 files changed, 1260 insertions(+), 2217 deletions(-)

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |




More information about the u-boot-v2 mailing list