compcache: TLSF Allocator
PATCH 4/6 compcache: TLSF Allocator
This is main TLSF Allocator code.
It is designed specifically for embedded devices.
See:
http://rtportal.upv.es/rtmalloc/
for more information.
Signed-off-by Nitin Gupta <nitingupta910 at gmail dot com>
--- init/Kconfig | 10 + mm/Makefile | 1 + mm/tlsf.c | 668 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 679 insertions(+), 0 deletions(-)
init/Kconfig +10 -0
@@ -734,6 +734,16 @@ config SLOB endchoice +config TLSF + depends on EMBEDDED + tristate "TLSF Allocator" + help + Two Level Segregate Fit Allocator. Its fast and gives low + fragmentation. See: + http://rtportal.upv.es/rtmalloc/ + http://code.google.com/p/compcache/wiki/TLSFAllocator + for more information. + config PROFILING bool "Profiling support (EXPERIMENTAL)" help
mm/Makefile +1 -0
@@ -27,6 +27,7 @@ obj-$(CONFIG_TINY_SHMEM) += tiny-shmem.o obj-$(CONFIG_SLOB) += slob.o obj-$(CONFIG_SLAB) += slab.o obj-$(CONFIG_SLUB) += slub.o +obj-$(CONFIG_TLSF) += tlsf.o obj-$(CONFIG_MEMORY_HOTPLUG) += memory_hotplug.o obj-$(CONFIG_FS_XIP) += filemap_xip.o obj-$(CONFIG_MIGRATION) += migrate.o
mm/tlsf.c new file +668 -0
668 lines not on this page · raw message
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>