From: Caspar Zhang <caspar@casparzhang.com>
To: LTP List <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH] mm/vma04: new testcase
Date: Thu, 16 Feb 2012 14:30:27 +0800 [thread overview]
Message-ID: <4F3CA283.3090607@casparzhang.com> (raw)
In-Reply-To: <1329372380-18378-1-git-send-email-caspar@casparzhang.com>
On 02/16/2012 02:06 PM, Caspar Zhang wrote:
>
> 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 <caspar@casparzhang.com>
> ---
> runtest/mm | 1 +
> testcases/kernel/mem/vma/vma04.c | 320 ++++++++++++++++++++++++++++++++++++++
> 2 files changed, 321 insertions(+), 0 deletions(-)
> create mode 100644 testcases/kernel/mem/vma/vma04.c
>
Test Status:
On a unpatched kernel:
# ./vma04
vma04 1 TFAIL : case4: failed. expect '2,4', actual '1,4'
vma04 2 TPASS : case5: passed.
vma04 3 TPASS : case6: passed.
vma04 4 TPASS : case7: passed.
vma04 5 TPASS : case8: passed.
On a patched kernel:
# ./vma04
vma04 1 TPASS : case4: passed.
vma04 2 TPASS : case5: passed.
vma04 3 TPASS : case6: passed.
vma04 4 TPASS : case7: passed.
vma04 5 TPASS : case8: passed.
Thanks,
Caspar
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2012-02-16 6:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-16 6:06 [LTP] [PATCH] mm/vma04: new testcase Caspar Zhang
2012-02-16 6:30 ` Caspar Zhang [this message]
2012-02-16 7:02 ` [LTP] [PATCH v2] " Caspar Zhang
2012-02-16 19:13 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F3CA283.3090607@casparzhang.com \
--to=caspar@casparzhang.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox