-
- Downloads
hugetlb: Add huge page alloced limit
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I4YTLN CVE: NA -------------------------------- The user wants to reserve a certain amount of memory for normal non-huge page, that is, the hugetlb can't allowed to use all the memory. Add a new kernel parameters "hugepage_prohibit_sz=" to set size for normal non-huge page reserved, and when alloc huge page, let's fail if the new allocating exceeds the limit. Signed-off-by:Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by:
Peng Liu <liupeng256@huawei.com> Reviewed-by:
Chen Wandun <chenwandun@huawei.com> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>
Loading
Please register or sign in to comment