Re: [linux-yocto] [PATCH 1/2] fs/proc: kcore: use kcore_list type to check for vmalloc/module address

2017-10-25 Thread Bruce Ashfield
On 10/24/2017 11:06 PM, zhe...@windriver.com wrote: From: Ard Biesheuvel merged to 4.12 Bruce Instead of passing each start address into is_vmalloc_or_module_addr() to decide whether it falls into either the VMALLOC or the MODULES region, we can simply check the

[linux-yocto] [PATCH 1/2] fs/proc: kcore: use kcore_list type to check for vmalloc/module address

2017-10-24 Thread zhe.he
From: Ard Biesheuvel Instead of passing each start address into is_vmalloc_or_module_addr() to decide whether it falls into either the VMALLOC or the MODULES region, we can simply check the type field of the current kcore_list entry, since it will be set to