[PATCH v3 3/3] kdump: Relocate vmcoreinfo to the crash memory range

2017-03-19 Thread Xunlei Pang
Currently vmcoreinfo data is updated at boot time subsys_initcall(), it has the risk of being modified by some wrong code during system is running. As a result, vmcore dumped may contain the wrong vmcoreinfo. Later on, when using "crash", "makedumpfile", etc utility to parse this vmcore, we

[PATCH v3 3/3] kdump: Relocate vmcoreinfo to the crash memory range

2017-03-19 Thread Xunlei Pang
Currently vmcoreinfo data is updated at boot time subsys_initcall(), it has the risk of being modified by some wrong code during system is running. As a result, vmcore dumped may contain the wrong vmcoreinfo. Later on, when using "crash", "makedumpfile", etc utility to parse this vmcore, we