[PATCH][makedumpfile] sadump: check if given cpu is online in per-cpu related helper functions
kumagai-atsushi at mxc.nes.nec.co.jp
Mon Feb 20 03:02:53 EST 2012
On Mon, 20 Feb 2012 11:19:15 +0900 ( )
HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com> wrote:
> Per-cpu helper functions sanity check given cpu ids if they are
> not-minus and less than the maximal but it should have checked if they
> are online. By this mistake, one cannot see generated vmcore correctly
> if sadump collects vmcore when some cpus are offline e.g. using cpu
> hotplug or panic and so all the cpus except for a unique CPU halting.
> Signed-off-by: HATAYAMA Daisuke <d.hatayama at jp.fujitsu.com>
> sadump_info.c | 18 ++++++++++++++----
> 1 files changed, 14 insertions(+), 4 deletions(-)
Thank you for your patch.
I will review it and it will be merged into v1.4.4
because I'm preparing the release of v1.4.3 now.
More information about the kexec