Commit 7d9032b0 authored by Liu Shixin's avatar Liu Shixin Committed by Yongqiang Liu
Browse files

dhugetlb: set hpool to NULL for cont-bit hugepage

hulk inclusion
category: bugfix
bugzilla: 46904, https://gitee.com/openeuler/kernel/issues/I6FCQZ


CVE: NA

--------------------------------

When dynamic hugetlb is enabled, the hpool should be NULL for cont-bit
hugepage, set it.

Fixes: f15774c6 ("dhugetlb: only support 1G/2M hugepage and ARM64_4K_PAGES")
Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Reviewed-by: default avatarNanyong Sun <sunnanyong@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 062d5379
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment