From: Mike Kravetz <mike.kravetz@oracle.com>
To: Bruce Merry <bmerry@ska.ac.za>, David Hildenbrand <david@redhat.com>
Cc: Linux MM <linux-mm@kvack.org>
Subject: Re: Is MAP_POPULATE supposed to fail silently?
Date: Tue, 9 Mar 2021 10:54:09 -0800 [thread overview]
Message-ID: <39da494e-d6b4-66b9-f6e1-3a9a9513f02c@oracle.com> (raw)
In-Reply-To: <CAOm-9apPKrhL-ZL3JOETC+BnWaTpdRMk-Jojwp+-8BeseBppmQ@mail.gmail.com>
On 3/9/21 3:10 AM, Bruce Merry wrote:
> Thanks. I'm hoping that the *.rsvd.limit_in_bytes cgroup settings will
> suffice if we can upgrade the production systems to a kernel new enough to
> have them, and mlock() is a possibility as well, but it's useful to know
> about the other options. Mostly I wanted to know whether this was a kernel
> problem or a documentation problem. I've filed
> https://bugzilla.kernel.org/show_bug.cgi?id=212153 for the man page.
Thanks Bruce.
As David mentioned, MAP_POPULATE is not guaranteed to succeed.
hugetlb reservation cgroup was created to handle situations like your use
case. Hopefully, you can update systems and it will meet your needs.
--
Mike Kravetz
prev parent reply other threads:[~2021-03-09 18:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-09 9:33 Bruce Merry
2021-03-09 10:32 ` David Hildenbrand
2021-03-09 11:10 ` Bruce Merry
2021-03-09 18:54 ` Mike Kravetz [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=39da494e-d6b4-66b9-f6e1-3a9a9513f02c@oracle.com \
--to=mike.kravetz@oracle.com \
--cc=bmerry@ska.ac.za \
--cc=david@redhat.com \
--cc=linux-mm@kvack.org \
/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