Commit d23c9a9b authored by Chen Zhou's avatar Chen Zhou Committed by Zheng Zengkai
Browse files

kdump: replace memblock_phys_alloc_range() with memblock_find_in_range() + memblock_reserve()



hulk inclusion
category: bugfix
bugzilla: 47954
CVE: NA

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

When kdump and kmemleak are enabled at the same time, the system may
oops.
Replace memblock_phys_alloc_range() with memblock_find_in_range() +
memblock_reserve() to fix this.

Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
Reviewed-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 776477b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment