From: Jan Stancek <jstancek@redhat.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] syscalls/bpf: auto bump RLIMIT_MEMLOCK
Date: Thu, 26 Sep 2019 08:29:10 -0400 (EDT) [thread overview]
Message-ID: <278524783.2287755.1569500950109.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <20190926121744.GC13769@rei.lan>
----- Original Message -----
> Hi!
> > eBPF tests may fail (-EPERM) if max locked memory limit is too low.
> > User-space tools such as perf started increasing MELOCK limit to
> > avoid this problem.
> >
> > LTP follows same approach and will attempt to raise RLIMIT_MEMLOCK
> > if possible, otherwise prints an info message.
> >
> > Link: http://lists.linux.it/pipermail/ltp/2019-August/013349.html
> > Link: https://lkml.org/lkml/2019/7/17/714
> > Signed-off-by: Jan Stancek <jstancek@redhat.com>
>
> Looks good, acked.
Thanks, pushed with typo above fixed: s/MELOCK/MEMLOCK/.
>
> Also have you had a look at the eBPF regression test?
>
> Do you mind if I push that before the release (with added call to adjust
> the memlock limit)?
If you mean "Regression test for 64bit arithmetic", I think that's OK for release.
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>
prev parent reply other threads:[~2019-09-26 12:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 11:15 [LTP] [PATCH] syscalls/bpf: auto bump RLIMIT_MEMLOCK Jan Stancek
2019-09-26 12:17 ` Cyril Hrubis
2019-09-26 12:29 ` Jan Stancek [this message]
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=278524783.2287755.1569500950109.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