Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757761AbZA2Lm0 (ORCPT ); Thu, 29 Jan 2009 06:42:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753759AbZA2LmS (ORCPT ); Thu, 29 Jan 2009 06:42:18 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:54175 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753728AbZA2LmR (ORCPT ); Thu, 29 Jan 2009 06:42:17 -0500 Subject: Re: [PATCH] use per cpu data for single cpu ipi calls From: Peter Zijlstra To: Ingo Molnar Cc: Andrew Morton , Steven Rostedt , linux-kernel@vger.kernel.org, rusty@rustcorp.com.au, npiggin@suse.de, torvalds@linux-foundation.org, tglx@linutronix.de, arjan@infradead.org In-Reply-To: <20090129111330.GB30738@elte.hu> References: <200901290955.38940.rusty@rustcorp.com.au> <20090128173039.cbc29e81.akpm@linux-foundation.org> <1233218954.7835.11.camel@twins> <20090129111330.GB30738@elte.hu> Content-Type: text/plain Date: Thu, 29 Jan 2009 12:41:56 +0100 Message-Id: <1233229316.4495.39.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 860 Lines: 22 On Thu, 2009-01-29 at 12:13 +0100, Ingo Molnar wrote: > * Peter Zijlstra wrote: > > > > Can generic_smp_call_function_single_interrupt() ever see > > > CSD_FLAG_ALLOC set now? If not, that kfree can go away. > > > > Like said above, removing that kmalloc will hurt people. > > the whole promise of generic-IPI seems to dwindle and we'll get back to > roughly where we started out from. I'd not go that far, the per-cpu csd is a nice fallback, but removing that kmalloc is just silly. And I see no reason why arch specific could do any better (aside from sparc which has fancy ipis). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/