[PATCH v2 0/2] lmb: remove overlapping region with next range
Udit Kumar
u-kumar1 at ti.com
Tue Sep 26 13:24:41 CEST 2023
In case, newly address range to be added is coalescing with some region
but also overlapping with next region.
In such, case overlapped region was getting created.
This patch series, detect such overlap and coalescing such region as one
Change logs:
test logs
https://gist.github.com/uditkumarti/7be37a662fabfcfefb74d1a67ccde2bd
Changes in v2:
Patch 1/2: Corrected typo
Patch 2/2 : Added test case as suggested by Simon
Link to v1:
https://lore.kernel.org/all/20230924111832.3741245-1-u-kumar1@ti.com/#t
Udit Kumar (2):
lmb: remove overlapping region with next range
test: lmb: Added test case for coaleacse with first and overlap with
Second
lib/lmb.c | 37 +++++++++++++++++++++++++++++++++----
test/lib/lmb.c | 13 ++++++++++++-
2 files changed, 45 insertions(+), 5 deletions(-)
--
2.34.1
More information about the U-Boot
mailing list