Commit b76aa450 authored by Jingxian He's avatar Jingxian He Committed by Zheng Zengkai
Browse files

mm/pin_mem: refactor pin memory mem reserve and pid reserve code

euleros inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4REE5


CVE: NA

------------
1.Refactor pin memory mem reserve:
Move the memory reserve functions to pin_mem.c,
and avoid using unnecessary macros.

2.Refactor pid reserve code:
In oder to avoid using unnecessary compile macros in pid.c,
add stub functions for free_reserved_pid and reserve_pids.

Signed-off-by: default avatarJingxian He <hejingxian@huawei.com>
Reviewed-by: default avatarKefeng <Wang&lt;wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent fcfdde9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment