1 Version History 2 --------------- 3 4 5 -v2.4.6 (September 10 2009) 6 * Fixed a bug in the realloc func (discovered by the rockbox 7 project: www.rockbox.org). 8 9 10 -v2.4.5 (November 24 2008) 11 * Working on OSX/FreeBSD (may be for OpenBSD/NetBSD too). 12 Reported by Younès HAFRI. 13 printf (and stdio.h include) is now optional. 14 Reported by Masaki Muranaka 15 16 -v2.4.4 (October 13 2008) 17 * Corrected minor syntactic bug on statistic gathering code. 18 Reported by Tim Cussins and P. Mantegazza. 19 20 -v2.4.3 (July 30 2008) 21 * Minor fixes to compile with the greenhills compiler. 22 Reported by "Kaya, Sinan SEA" <sinan.kaya@siemens.com> 23 * Small change in the license in order to include TLSF in the RTEMS 24 project. 25 26 -v2.4.2 (May 16 2008) (Herman ten Brugge) 27 * Memory usage statistics added again, with cleaner and more compacted 28 code. 29 30 -v2.4.1 (April 30 2008) 31 * Fixed a bug in the tlsf_realloc function: init the pool automatically 32 on the first call. 33 Reported by: Alejandro Mery <amery@geeks.cl> 34 35 -v2.4 (Feb 19 2008) 36 * "rtl_*" functions renamed to "tlsf_*". 37 * Added the add_new_area function to insert new memory areas to an 38 existing memory pool. 39 * A single TLSF pool can manage non-contiguous memory areas. 40 * Support for mmap and sbrk added. 41 * The init_memory_pool is not longer needed when used on a system 42 with mmap or sbrk. 43 * Removed the get_used_size counting.The same functionality can be 44 implemented outside the TLSF code. 45 46 -v2.3.2 (Sep 27 2007) 47 * Minor cosmetic code improvements. 48 49 -v2.3.1 (Jul 30 2007) 50 * Fixed some minor bugs in the version 2.3. Herman ten Brugge 51 <hermantenbrugge@home.nl> 52 53 -v2.3 (Jul 28 2007) Released a new version with all the contributions 54 received from Herman ten Brugge <hermantenbrugge@home.nl> 55 (This is his summary of changes in the TLSF's code): 56 * Add 64 bit support. It now runs on x86_64 and solaris64. 57 * I also tested this on vxworks/32 and solaris/32 and i386/32 58 processors. 59 * Remove assembly code. I could not measure any performance difference 60 on my core2 processor. This also makes the code more portable. 61 * Moved defines/typedefs from tlsf.h to tlsf.c 62 * Changed MIN_BLOCK_SIZE to sizeof (free_ptr_t) and BHDR_OVERHEAD to 63 (sizeof (bhdr_t) - MIN_BLOCK_SIZE). This does not change the fact 64 that the minumum size is still sizeof (bhdr_t). 65 * Changed all C++ comment style to C style. (// -> /* ... *./) 66 * Used ls_bit instead of ffs and ms_bit instead of fls. I did this to 67 avoid confusion with the standard ffs function which returns 68 different values. 69 * Created set_bit/clear_bit fuctions because they are not present 70 on x86_64. 71 * Added locking support + extra file target.h to show how to use it. 72 * Added get_used_size function 73 * Added rtl_realloc and rtl_calloc function 74 * Implemented realloc clever support. 75 * Added some test code in the example directory. 76 77 -- Thank you very much for your help Herman! 78 79 -v2.2.1 (Oct 23 2006) 80 * Support for ARMv5 implemented by Adam Scislowicz 81 <proteuskor@gmail.com>. Thank you for your contribution. 82 83 - v2.2.0 (Jun 30 2006) Miguel Masmano & Ismael Ripoll. 84 85 * Blocks smaller than 128 bytes are stored on a single 86 segregated list. The already existing bits maps and data 87 structures are used. 88 * Minor code speed-up improvements. 89 * Worst case response time both on malloc and free improved. 90 * External fragmantation also improved!. 91 * Segragared lists are AGAIN sorted by LIFO order. Version 92 2.1b was proven to be no better than 2.1. 93 94 - v2.1b: Allocation policy has been always a LIFO Good-Fit, that 95 is, between several free blocks in the same range, TLSF will 96 always allocate the most recently released. In this version of 97 TLSF, we have implemented a FIFO Good-Fit. However, 98 fragmentation doesn't seems to be altered so is it worth it?. 99 100 - v2.1: Realloc and calloc included again in TLSF 2.0. 101 102 - v2.0: In this version, TLSF has been programmed from scratch. 103 Now the allocator is provided as an unique file. Realloc and 104 calloc are not longer implemented. 105 106 107 - v1.4: Created the section "Version History". Studied real 108 behaviour of actual applications (regular applications tend 109 to require small memory blocks (less than 16 bytes) whereas 110 TLSF is optimised to be used with blocks larger than 16 111 bytes: Added special lists to deal with blocks smaller than 112 16 bytes. 113 114 115 - v1.3: Change of concept, now the main TLSF structure is created 116 inside of the beginning of the block instead of being an 117 static structure, allowing multiple TLSFs working at the 118 same time. Now, TLSF uses specific processor instructions to 119 deal with bitmaps. TLSF sanity functions added to find TLSF 120 overflows. The TLSF code will not be RTLinux-oriented any 121 more. 122 123 - v1.1 ... v1.2: Many little bugs fixed, code cleaned and splitted 124 in several files because of cosmetic requirements. 125 Starting from TLSF v1.1, MaRTE OS 126 (http://marte.unican.es) uses the TLSF allocator 127 as its default memory allocator. 128 129 - v0.1 ... v1.0: First implementations were created for testing and 130 research purposes. Basically TLSF is implemented to 131 be used by RTLinux-GPL (www.rtlinux-gpl.org), so 132 it is RTLinux-oriented. 133