Re: kvm kdump regression

From: CAI Qian
Date: Mon Sep 20 2010 - 20:40:24 EST



----- "Tejun Heo" <tj@xxxxxxxxxx> wrote:

> Hello,
>
> Thanks a lot for testing. Can you please verify whether the
> following patch fixes the problem?
Yes, it did.
>
> diff --git a/mm/percpu.c b/mm/percpu.c
> index 58c572b..c76ef38 100644
> --- a/mm/percpu.c
> +++ b/mm/percpu.c
> @@ -1401,9 +1401,9 @@ int __init pcpu_setup_first_chunk(const struct
> pcpu_alloc_info *ai,
>
> if (pcpu_first_unit_cpu == NR_CPUS)
> pcpu_first_unit_cpu = cpu;
> + pcpu_last_unit_cpu = cpu;
> }
> }
> - pcpu_last_unit_cpu = cpu;
> pcpu_nr_units = unit;
>
> for_each_possible_cpu(cpu)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/