Skip to content

lmb: remove overlapping region with next range

Udit Kumar u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 8 repliesSuperseded

Changes in v2 from the cover letter

Patch 1/2: Corrected typo
Patch 2/2 : Added test case as suggested by Simon
Link to v1:
https://lore.kernel.org/all/[email protected]/#t

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lmb: remove overlapping region with next rangelib/lmb.c+33 -41 reply
2/2test: lmb: Add test for coalescing and overlap rangetest/lib/lmb.c+12 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSimon Glass
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] lmb: remove overlapping region with next range

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/[email protected]/#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(-)
Signature · 1 line
2.34.1