Re: [RFC PATCH] mm, oom: introduce vm.sacrifice_hugepage_on_oom

From: Michal Hocko
Date: Wed Feb 17 2021 - 02:58:10 EST


On Tue 16-02-21 14:30:15, Mike Kravetz wrote:
[...]
> However, this is an 'opt in' feature. So, I would not expect anyone who
> carefully plans the size of their hugetlb pool to enable such a feature.
> If there is a use case where hugetlb pages are used in a non-essential
> application, this might be of use.

I would really like to hear about the specific usecase. Because it
smells more like a misconfiguration. What would be non-essential hugetlb
pages? This is not a resource to be pre-allocated just in case, right?

--
Michal Hocko
SUSE Labs