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

share_pool: Use node_id from spa when alloc share_pool memory

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


CVE: NA

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

We store the preferred node_id in sp_area in sp_alloc() and use it for
memory alloc in shmem_fault.

Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
Signed-off-by: default avatarPeng Wu <wupeng58@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 ed054598
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment