From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [RFC] [PATCH] syscalls/madvise09: Fix TCONF propagation, remove .min_kver
Date: Fri, 6 Oct 2017 10:31:24 -0400 (EDT) [thread overview]
Message-ID: <181956053.27405654.1507300284234.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20171006103839.24544-1-chrubis@suse.cz>
----- Original Message -----
> This patch fixes TCONF propagation from the child to parent, the parent
> have to handle the TCONF exit value.
>
> And it also removes the .min_kver in order to enable the test on
> distribution kernels that backported the MADV_FREE. Older kernels are
> handled by the runtime EINVAL detection or will TCONF at the check for
> memory cgroup support, so there is no real need to keep the .min_kver in
> the source code.
>
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Looks good to me:
# ./madvise09
tst_test.c:937: INFO: Timeout per run is 0h 05m 00s
madvise09.c:186: CONF: MADV_FREE is not supported: EINVAL
madvise09.c:310: CONF: MADV_FREE is not supported
Regards,
Jan
next prev parent reply other threads:[~2017-10-06 14:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-06 10:38 [LTP] [RFC] [PATCH] syscalls/madvise09: Fix TCONF propagation, remove .min_kver Cyril Hrubis
2017-10-06 14:31 ` Jan Stancek [this message]
2017-10-25 8:40 ` 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=181956053.27405654.1507300284234.JavaMail.zimbra@redhat.com \
--to=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