102a62c7e3
This patch refactors granule allocator to remove the 32 granules limitation with the help of a gran_range_s structure and related functions, see "mm_grantable.h" for details. Below are the major functions explaining how this works: - The gran_match() checks if a gran range all in the given state. it gives last mismatch position when fails free range matching. - The gran_search() tries to find the position of a free range. It leverages last mismatch position from gran_match() to speed up the search. range size handling is mainly in gran_match() and gran_set_(). Signed-off-by: Yanfeng Liu <yfliu2008@qq.com> |
||
---|---|---|
.. | ||
bin | ||
circbuf | ||
iob | ||
kasan | ||
kbin | ||
kmap | ||
kmm_heap | ||
map | ||
mempool | ||
mm_gran | ||
mm_heap | ||
shm | ||
tlsf | ||
ubsan | ||
umm_heap | ||
CMakeLists.txt | ||
Kconfig | ||
Makefile |