Skip to content
Commit edb5824b authored by Udit Kumar's avatar Udit Kumar Committed by Tom Rini
Browse files

lmb: remove overlapping region with next range



In case of new memory range to be added is coalesced
with any already added non last lmb region.

And there is possibility that, then region in which new memory
range added is not adjacent to next region. But have some
sections are overlapping.

So along with adjacency check with next lmb region,
check for overlap should be done.

In case overlap  is found, adjust and merge these two lmb
region into one.

Reported-by: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarUdit Kumar <u-kumar1@ti.com>
parent 4f9c7a9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment