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