commit | 18442a7e69a5b1c5794f028b7d98082f58f0475a | [log] [tgz] |
---|---|---|
author | Taylor Cramer <cramertj@google.com> | Mon Apr 01 18:51:44 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 01 18:51:44 2024 +0000 |
tree | c5b72dfde30a0ae1de2bb19c86157e521aca72f1 | |
parent | 3c2ef28caa5205f4b4d319667686213b6c4080ad [diff] |
pw_multibuf: Replace Mutex with ISL Per-region mutexes have size overhead that is much larger than affordable for individual chunk regions. Prior to this change, SimpleAllocator's LinkedRegionTracker was 144 bytes (!) when compiled for host. After this change, it is 48 bytes (which is still too large, but now the size can be reasonably improved by reducing the number of pointer and size pairs). Change-Id: Iae5b3e277d649b613f1b12be911464657e8890bf Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/200996 Pigweed-Auto-Submit: Taylor Cramer <cramertj@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Reviewed-by: Alexei Frolov <frolv@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/.