Re: [PATCH 6/9] x86: only call smp_processor_id in non-preemptcases

From: Cyrill Gorcunov
Date: Wed Dec 01 2010 - 13:07:34 EST


On Tue, Nov 30, 2010 at 05:27:27PM -0500, Don Zickus wrote:
> There are some paths that walk the die_chain with preemption on.
> Make sure we are in an NMI call before we start doing anything.
>
> This was triggered by do_general_protection calling notify_die with
> DIE_GPF.
>
> Reported-by: Jan Kiszka <jan.kiszka@xxxxxx>
> Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx>
> ---
> arch/x86/kernel/apic/hw_nmi.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)

yup, thanks Don!

Cyrill
--
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/