mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge "kasan: Zero shadow memory on memory hotplug"
This commit is contained in:
commit
a7004306b1
1 changed files with 1 additions and 1 deletions
|
|
@ -700,7 +700,7 @@ static int __meminit kasan_mem_notifier(struct notifier_block *nb,
|
|||
return NOTIFY_OK;
|
||||
|
||||
ret = __vmalloc_node_range(shadow_size, PAGE_SIZE, shadow_start,
|
||||
shadow_end, GFP_KERNEL,
|
||||
shadow_end, GFP_KERNEL | __GFP_ZERO,
|
||||
PAGE_KERNEL, VM_NO_GUARD,
|
||||
pfn_to_nid(mem_data->start_pfn),
|
||||
__builtin_return_address(0));
|
||||
|
|
|
|||
Loading…
Reference in a new issue