Re: [PATCH] i386/kernel/smp.c: don't use set_irq_regs()

From: Ingo Molnar
Date: Mon Dec 04 2006 - 04:49:28 EST



* Oleg Nesterov <oleg@xxxxxxxxxx> wrote:

> We don't need to setup _irq_regs in smp_xxx_interrupt (except apic
> timer). These handlers run with irqs disabled and do not call
> functions which need "struct pt_regs".
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

yeah. These are leftover inefficiencies from the ptregs conversion,
which just added a regs variable to every arch-level irq handler
blindly.

Acked-by: Ingo Molnar <mingo@xxxxxxx>

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