The gap check in unmapped_area() seems not correct. Add test cases to verify the behavior. Wei Yang (2): mm/vma: fix gap check for unmapped_area with VM_GROWSDOWN tools: testing: add unmapped_area() tests mm/vma.c | 2 +- tools/testing/vma/vma.c | 177 +++++++++++++++++++++++++++++++ tools/testing/vma/vma_internal.h | 2 +- 3 files changed, 179 insertions(+), 2 deletions(-) -- 2.34.1