[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080422191213.GA6370@elte.hu>
Date: Tue, 22 Apr 2008 21:12:13 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Jens Axboe <jens.axboe@...cle.com>, linux-arch@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
npiggin@...e.de, peterz@...radead.org, sam@...nborg.org
Subject: Re: [PATCH 2/11] x86: convert to generic helpers for IPI function
calls
* Linus Torvalds <torvalds@...ux-foundation.org> wrote:
>
> [ Ingo added to cc, since this is x86-specific ]
>
> On Tue, 22 Apr 2008, Jens Axboe wrote:
> > +++ b/arch/x86/kernel/apic_32.c
> > @@ -1357,6 +1357,10 @@ void __init smp_intr_init(void)
> >
> > /* IPI for generic function call */
> > set_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt);
> > +
> > + /* IPI for single call function */
> > + set_intr_gate(CALL_FUNCTION_SINGLE_VECTOR,
> > + call_function_single_interrupt);
>
> Ok, one more comment..
>
> Why bother with separate vectors for this?
this was my first question a month ago when Jens/Nick first submitted it
:)
> Or is it just a performance optimization? [...]
yes and i gave in - Nick and Jens wants to do some crazy stuff and they
had the numbers. Here's the previous discussion:
http://lkml.org/lkml/2008/2/27/125
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists