Commit 63051041 authored by Zhou Guanghui's avatar Zhou Guanghui Committed by Yang Yingliang
Browse files

Ascend/cdm:alloc hugepage from the specified CDM node

ascend inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4D63I


CVE: NA

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

commit(bd177f8f0548f): Only __GFP_THISNODE marked allocations
will come from the CDM node.

Therefore, when we alloc normal hugepages, if __GFP_THISNODE
is marked, hugepages can be applied for from the specified nid.

Signed-off-by: default avatarZhou Guanghui <zhouguanghui1@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 4f02e8f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment