From: Cyril Hrubis <chrubis@suse.cz>
To: Jan Stancek <jstancek@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] syscalls/migrate_pages03: restore runtime to 5m
Date: Tue, 21 Jun 2022 11:49:26 +0200 [thread overview]
Message-ID: <YrGUJmmVzhFJhlcX@yuki> (raw)
In-Reply-To: <6616c11cdf55d2fd89f6f3c8f9ab1a8c1a3916e7.1655800610.git.jstancek@redhat.com>
Hi!
> Arches with large pages have trouble completing all loops in 30s,
> restore runtime to 5m. Also check for remaining runtime and
> exit if we run out.
>
> Signed-off-by: Jan Stancek <jstancek@redhat.com>
> ---
> testcases/kernel/syscalls/migrate_pages/migrate_pages03.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/testcases/kernel/syscalls/migrate_pages/migrate_pages03.c b/testcases/kernel/syscalls/migrate_pages/migrate_pages03.c
> index c6afb4cce05d..2866c96e6b8d 100644
> --- a/testcases/kernel/syscalls/migrate_pages/migrate_pages03.c
> +++ b/testcases/kernel/syscalls/migrate_pages/migrate_pages03.c
> @@ -127,6 +127,11 @@ static void migrate_test(void)
> tst_res(TFAIL | TERRNO, "migrate_pages() failed");
> return;
> }
> +
> + if (!tst_remaining_runtime()) {
> + tst_res(TINFO, "Out of runtime, exitting...");
^
Just one
't' here
Sorry I tend to make this typo quite often.
With that fixed:
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2022-06-21 9:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-21 7:05 [LTP] [PATCH] syscalls/migrate_pages03: restore runtime to 5m Jan Stancek
2022-06-21 8:27 ` Cyril Hrubis
2022-06-21 8:37 ` [LTP] [PATCH v2] " Jan Stancek
2022-06-21 9:49 ` Cyril Hrubis [this message]
2022-06-23 8:26 ` Li Wang
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=YrGUJmmVzhFJhlcX@yuki \
--to=chrubis@suse.cz \
--cc=jstancek@redhat.com \
--cc=ltp@lists.linux.it \
/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