Re: Is MAP_POPULATE supposed to fail silently?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux