summaryrefslogtreecommitdiff
path: root/src/memheap.c
AgeCommit message (Collapse)Author
2025-06-27Remove extra semicolon in src/memheap.cYulong Wang
2024-09-01feat: kernel/libcpu: fit into ilp32dShell
2024-02-19[kernel] fix some strict compiling warningsMeco Man
2023-07-09[debug] remove RT_DEBUG_xxxMeco Man
remove RT_DEBUG_THREAD RT_DEBUG_SCHEDULER RT_DEBUG_IPC RT_DEBUG_TIMER RT_DEBUG_IRQ RT_DEBUG_MEM RT_DEBUG_SLAB RT_DEBUG_MEMHEAP
2023-06-29[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)Shicheng Chu
2023-04-04[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)Shicheng Chu
2023-02-28[Kernel] Fix the alignment issue for memheap.bernard
2022-11-05[update]更正 RT_MEMHEAP_BSET_MODE -> RT_MEMHEAP_BEST_MODE 拼写错误。liangyingjian
2022-09-19[memheap] Fix the Oz optimization problem of AC6 compilertangyuxin
2022-03-17[kernel] Revert modifications to the semaphore (#5682)guo
2022-02-10[fix] memheap using assertions before scheduler starts.guozhanxin
2022-01-08[memheap] Fix 64 bit potential risktangyuxin
2021-12-16分离内存分配接口与内存分配算法 (#5175)Tangyuxin
* [kernel][mem] Multiple instances of small memory allocation algorithm * [kernel][mem] Change small memory management algorithm memory header flag * [kernel][mem] Fix assertion problem * [kernel][slab] Multiple instances of slab memory management algorithm * [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces * [kernel][mem] Clean up memory space of small memory management objects * [kernel][kservice] Add memory application interface and thread protection interface * [kernel][kservice] Fix function return value problem * [kernel][memheap] Optimize memheaptrace print * [kernel][memheap] Support best mode * [kernel][memory] Remove semaphore lock * [kernel][memheap] Add locked flag * [kernel][memory] Support malloc memory in interrupt * [kernel][memheap] Add 'memheapcheck' cmd * [kernel][mem] Fix failure to request full memory * [kernel][memheap] Fix compilation warning * [kernel][mem] Fix mem realloc ASSERT * [examples][testcases] Add small mem testcase * [examples][mem_tc] Modify test memory size * [examples][testcases] Add slab memory management algorithm test case * [examples][testcases] fix small memory management algorithm test case * [kernel][memory] Adjusting memory allocation algorithm object definition and interface * [kernel][memory] Fix compilation warning * [examples][utest] Fix mem test case * [examples][utest] fix slab test case * [utest][testcases] Shorten test time * [kernel][memory] Formatting code * [examples][utest] Adjust test run time * [examples][utest] Formatting code * [bsp] update all rtconfig.h
2021-12-14[update] ↵zhouji
使用memheap内存管理算法时,对rt_system_heap_init传入的地址进行对齐。
2021-12-14[update] 使用memheap内存管理时,rt_malloc 0长度返回RT_NULL, ↵zhouji
与slab与小内存管理等算法保持一致。
2021-09-27Merge pull request #4872 from aozima/aozima_memheap_developBernard Xiong
优化memheap内存管理:1.自动多块粘合可配置;
2021-09-18[update] functions annotation.liukangcc
2021-09-18[kernel] update memheap auto binding policy.aozima
2021-09-13【增加】memheap.cyangjie
2021-08-28FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDSMeco Man
2021-08-25[finsh] finsh组件可以选择是否包含内置命令Meco Man
2021-08-06[bsp/virt64/aarch64] Add 'qemu-virt64-aarch64' bspGuEe-GUI
2021-06-13Merge pull request #4785 from mysterywolf/endifguo
[kernel] 补充endif后缀注释
2021-06-12Merge pull request #4788 from yangjie11/memheapBernard Xiong
[src] add RT_WEAK for rt_malloc_align,rt_free_align
2021-06-11[src] add RT_WEAK for rt_malloc_align,rt_free_alignyangjie
2021-06-10[kernel] 补充endif后缀注释(3)Meco Man
2021-06-07[bug][kernel][heap] 将内存堆保护机制由FIFO改为PRIOMeco Man
2021-06-03[update]format memheap.cguozhanxin
2021-06-03[src][memheap] Fix the crash problem after opening Oz optimization on ac6.guozhanxin
2021-03-15Merge pull request #4359 from willianchanlovegithub/WillianchanBernard Xiong
[kernel][memheap]add memory heap track and memory heap check.
2021-03-08[kernel]auto formattedMeco Man
2021-02-26Add memtrace command for memheap.ccliff-cmc
2021-02-20[kernel][memheap]rename memtrace to memheaptraceWillianChan
Signed-off-by: WillianChan <[email protected]>
2021-02-20[kernel][memheap]fix RT_DEBUG_LOG errors.WillianChan
Signed-off-by: WillianChan <[email protected]>
2021-02-20[kernel][memheap]add memory heap track and memory heap check.WillianChan
Signed-off-by: WillianChan <[email protected]>
2020-12-25add rt_memory_info() for memheap.cunknown
2020-11-16fix bug of rt_memheap_detachminghao_wang
2018-12-13Fix the value width issue under 32/64 bit arch.Bernard Xiong
2018-10-26[Kernel] Add 64bit CPU support.Bernard Xiong
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2018-07-11[kernel] add assert to memheap objectliang yongxiang
2018-03-28[Kernel][memheap] fix rt_realloc bugsliang yongxiang
- missing free old memory after malloc new - free memory when new size is zero
2017-12-12[Kernel] Use rt_object_get_information to get object chainBernard Xiong
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2015-04-08memheap: check the USED bit in rt_memheap_freeGrissiom
This will ease the debugging of double-free bug.
2015-01-16memheap: check against over written in rt_memheap_freeGrissiom
2013-07-15memheap: dont alloc/memcpy when there is next node is enough for reallocGrissiom
When realloc a bigger space and the next node is free and big enough, we should directly relocate the next node instead of doing alloc/memcpy. The new method not only faster in this cases, it would avoid memory fragment as well.
2013-07-11fix the memory block splitting issueBernard Xiong
2013-06-29reformat the coding styleyiyue.fang
convert Tabs to spaces
2013-06-24Embedded GPLv2 license.Bernard Xiong