mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
7e79471ece
Current page selection algorithm selects a page for compaction based on just erased counts and gives up when it does not find any page with erased count greater than 0. This is problematic since the current allocation procedure skips the active page if there is not enough room for the item in that page leaving free chunks on the pages. This change modifies the algorithm to consider both erased as well as free counts on the candidate pages. Closes TW<20297> |
||
---|---|---|
.. | ||
crc.cpp | ||
crc.h | ||
esp_error_check_stub.cpp | ||
main.cpp | ||
Makefile | ||
sdkconfig.h | ||
spi_flash_emulation.cpp | ||
spi_flash_emulation.h | ||
test_compressed_enum_table.cpp | ||
test_intrusive_list.cpp | ||
test_nvs.cpp | ||
test_spi_flash_emulation.cpp |