Commit 48554873 authored by Wang Wensheng's avatar Wang Wensheng Committed by Zheng Zengkai
Browse files

shmem: Alloc shared memory on a specified memory node

ascend inclusion
category: Feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4NDAW


CVE: NA

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

In some scenarios, there are memory only numa nodes used for designed
process groups. Users need to specify memory nodes to apply for shared
memory.

Here we extend shmem_alloc_and_acct_page() to accept an extra node_id
and supply that node_id through share_pool interface in later patches.

Signed-off-by: default avatarPeng Wu <wupeng58@huawei.com>
Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
Reviewed-by: default avatarKefeng <Wang&lt;wangkefeng.wang@huawei.com>
Reviewed-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 7b1bca35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment