Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261442AbVDJHYW (ORCPT ); Sun, 10 Apr 2005 03:24:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261441AbVDJHYW (ORCPT ); Sun, 10 Apr 2005 03:24:22 -0400 Received: from are.twiddle.net ([64.81.246.98]:34181 "EHLO are.twiddle.net") by vger.kernel.org with ESMTP id S261440AbVDJHYR (ORCPT ); Sun, 10 Apr 2005 03:24:17 -0400 Date: Sun, 10 Apr 2005 00:23:57 -0700 From: Richard Henderson To: "David S. Miller" Cc: Benjamin Herrenschmidt , mingo@elte.hu, tony.luck@intel.com, linux-kernel@vger.kernel.org, akpm@osdl.org, nickpiggin@yahoo.com.au, linux-arch@vger.kernel.org Subject: Re: [patch] sched: unlocked context-switches Message-ID: <20050410072357.GA2155@twiddle.net> Mail-Followup-To: "David S. Miller" , Benjamin Herrenschmidt , mingo@elte.hu, tony.luck@intel.com, linux-kernel@vger.kernel.org, akpm@osdl.org, nickpiggin@yahoo.com.au, linux-arch@vger.kernel.org References: <20050409043848.GA2677@elte.hu> <1113038543.9568.430.camel@gaston> <20050409154612.55d6a6fa.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050409154612.55d6a6fa.davem@davemloft.net> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 20 On Sat, Apr 09, 2005 at 03:46:12PM -0700, David S. Miller wrote: > 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. Alpha does the switch in PALmode, which is never interruptable. r~ - 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/