diff options
author | Karolina Drobnik <karolinadrobnik@gmail.com> | 2022-02-02 14:03:13 +0300 |
---|---|---|
committer | Mike Rapoport <rppt@linux.ibm.com> | 2022-02-21 09:17:51 +0300 |
commit | b4d968931e5e07cdff262bfd9b60291d072ad0d7 (patch) | |
tree | 6a46611a5c0e1943ade415dc8781bec1a94cf28c /net/lapb/lapb_timer.c | |
parent | 83787a803793881a2e6cf47ea0706cc8fe4573d7 (diff) | |
download | linux-b4d968931e5e07cdff262bfd9b60291d072ad0d7.tar.xz |
memblock tests: Add memblock_remove tests
Add checks for removing a region from available memory in different
scenarios:
- The requested region matches one in the collection of available
memory regions
- The requested region does not exist in memblock.memory
- The region overlaps with one of the entries: from the top (its end
address is bigger than the base of the existing region) or from the
bottom (its base address is smaller than the end address of one of
the regions)
- The region is within an already defined region
Signed-off-by: Karolina Drobnik <karolinadrobnik@gmail.com>
Signed-off-by: Mike Rapoport <rppt@kernel.org>
Link: https://lore.kernel.org/r/8e6aa005407bbe1a75b75e85ac04ebb51318a52a.1643796665.git.karolinadrobnik@gmail.com
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions