From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 9 Apr 2005 15:46:12 -0700 From: "David S. Miller" Subject: Re: [patch] sched: unlocked context-switches Message-Id: <20050409154612.55d6a6fa.davem@davemloft.net> In-Reply-To: <1113038543.9568.430.camel@gaston> References: <20050409043848.GA2677@elte.hu> <1113038543.9568.430.camel@gaston> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: Benjamin Herrenschmidt Cc: mingo@elte.hu, tony.luck@intel.com, linux-kernel@vger.kernel.org, akpm@osdl.org, nickpiggin@yahoo.com.au, linux-arch@vger.kernel.org List-ID: On Sat, 09 Apr 2005 19:22:23 +1000 Benjamin Herrenschmidt wrote: > ppc64 already has a local_irq_save/restore in switch_to, around the low > level asm bits, so it should be fine. Sparc64 essentially does as well. In fact, it uses an IRQ disable which is stronger than local_irq_save in that it disables reception of CPU cross-calls as well.