commit | a2dd3fbd45269c839aa2a2bbddd6bd75a5fa25c7 | [log] [tgz] |
---|---|---|
author | aarongreen <aarongreen@google.com> | Wed Oct 25 17:47:36 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 25 17:47:36 2023 +0000 |
tree | 9131269b31c1a1b9b1ceffb987f960b9d16096b0 | |
parent | 556c19d670b9dc4a0044a4a7c8ddae6cc0353a66 [diff] |
pw_allocator: Refactor SplitFreeListAllocator to use Block This CL replaces `SplitFreeListAllocator`s custom `FreeBlock` with the existing `Block`. It keeps track of the first and last free blocks, so that both large and small candidate blocks can be found quickly. Change-Id: I3ca702d93109666542abc442c315e9efe0b4250c Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/176579 Commit-Queue: Aaron Green <aarongreen@google.com> Reviewed-by: Keir Mierle <keir@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.