From: Caspar Z. <ca...@ca...> - 2012-02-16 07:03:14
|
vma04: corner cases for mbind vma merge issue There are several corner cases (documented in mm/mmap.c) for mbind vma merge issue, which makes commit 8aacc9f550 slightly incorrect. KOSAKI Motohiro made a patch for it (commit e26a511) and composed a reproducer containing these corner cases. Now I backport it to LTP. Signed-off-by: Caspar Zhang <ca...@ca...> --- v1->v2: returns TCONF when ENOSYS returns in invoking mbind() runtest/mm | 1 + testcases/kernel/mem/vma/vma04.c | 339 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 340 insertions(+), 0 deletions(-) create mode 100644 testcases/kernel/mem/vma/vma04.c |