aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
authorKarolina Drobnik <karolinadrobnik@gmail.com>2022-02-02 12:03:15 +0100
committerMike Rapoport <rppt@linux.ibm.com>2022-02-21 08:26:06 +0200
commitdd45dc071101a45619cbaff0f77d07abdf25caf0 (patch)
tree91eb48715091d5c6b5ec0f2dd5a7510b2fa288e7 /mm/memblock.c
parentmemblock tests: Add memblock_add_node test (diff)
downloadlinux-dev-dd45dc071101a45619cbaff0f77d07abdf25caf0.tar.xz
linux-dev-dd45dc071101a45619cbaff0f77d07abdf25caf0.zip
memblock tests: Add memblock_free tests
Add checks for removing a region from reserved memory in different scenarios: - The requested region matches one in the collection of reserved memory regions - The requested region does not exist in memblock.reserved - 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/30af95c82754ad8029404c3b528a5ef1c05d1ed6.1643796665.git.karolinadrobnik@gmail.com
Diffstat (limited to 'mm/memblock.c')
0 files changed, 0 insertions, 0 deletions