Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get vmalloc start address from vmcoreinfo
Below error is noticed when running crash on vmcore collected from a linux-next kernel crash (linux-next tag next-20240121): # crash /boot/vmlinuz-6.8.0-rc5-next-20240221 ./vmcore ... For help, type "help". Type "apropos word" to search for commands related to "word"... crash: page excluded: kernel virtual address: c00000000219a2c0 type: "vmlist" This occured since getting the vmalloc area base address doesn't work in crash now, due to 'vmap_area_list' being removed in the linux kernel 6.9-rc1 with below commit: commit 55c49fee57af99f3c663e69dedc5b85e691bbe50 mm/vmalloc: remove vmap_area_list As an alternative, the commit introduced 'VMALLOC_START' in vmcoreinfo to get base address of vmalloc area, use it to return vmallow start address instead of depending on vmap_area_list and vmlist. Reported-by: Sachin Sant <[email protected]> Signed-off-by: Aditya Gupta <[email protected]> Tested-by: Sachin Sant <[email protected]> Acked-by: Hari Bathini <[email protected]>
- Loading branch information